1 /* -*- Mode: C ; c-basic-offset: 2 -*- */
3 * LADI Session Handler (ladish)
5 * Copyright (C) 2008 Nedko Arnaudov <nedko@arnaudov.name>
7 **************************************************************************
8 * This file contains interface of the project class
9 **************************************************************************
11 * LADI Session Handler is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
16 * LADI Session Handler is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with LADI Session Handler. If not, see <http://www.gnu.org/licenses/>
23 * or write to the Free Software Foundation, Inc.,
24 * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
27 #ifndef PROJECT_HPP__C1D5778B_7D4B_4DD7_9B27_657D79B53083__INCLUDED
28 #define PROJECT_HPP__C1D5778B_7D4B_4DD7_9B27_657D79B53083__INCLUDED
32 class lash_proxy_impl
;
39 lash_proxy
* lash_ptr
,
40 const std::string
& name
);
53 std::string
& description
);
60 get_modified_status();
64 std::list
<boost::shared_ptr
<lash_client
> >& clients
);
68 const std::string
& name
);
71 do_change_description(
72 const std::string
& description
);
76 const std::string
& notes
);
78 sigc::signal0
<void> _signal_renamed
;
79 sigc::signal0
<void> _signal_modified_status_changed
;
80 sigc::signal0
<void> _signal_description_changed
;
81 sigc::signal0
<void> _signal_notes_changed
;
82 sigc::signal1
<void, boost::shared_ptr
<lash_client
> > _signal_client_added
;
83 sigc::signal1
<void, boost::shared_ptr
<lash_client
> > _signal_client_removed
;
86 friend class lash_proxy_impl
;
90 const std::string
& name
);
93 on_modified_status_changed(
94 bool modified_status
);
97 on_description_changed(
98 const std::string
& description
);
102 const std::string
& notes
);
106 boost::shared_ptr
<lash_client
> client_ptr
);
110 const std::string
& id
);
112 project_impl
* _impl_ptr
;
115 #endif // #ifndef PROJECT_HPP__C1D5778B_7D4B_4DD7_9B27_657D79B53083__INCLUDED