diff options
author | David Robillard <d@drobilla.net> | 2011-11-25 01:21:56 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-11-25 01:21:56 +0000 |
commit | fe25a604706505e24c2cfc295b1b9cb50ee92a8e (patch) | |
tree | 873878c2e368ebbbb46c30b95fc0262c25557e95 /src/Project.hpp | |
parent | ed72d7b9ab1327787ff55dadc7db65e0786dd4cf (diff) | |
download | patchage-fe25a604706505e24c2cfc295b1b9cb50ee92a8e.tar.gz patchage-fe25a604706505e24c2cfc295b1b9cb50ee92a8e.tar.bz2 patchage-fe25a604706505e24c2cfc295b1b9cb50ee92a8e.zip |
Remove LASH stuff.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3621 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/Project.hpp')
-rw-r--r-- | src/Project.hpp | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/src/Project.hpp b/src/Project.hpp deleted file mode 100644 index 15371f6..0000000 --- a/src/Project.hpp +++ /dev/null @@ -1,71 +0,0 @@ -/* This file is part of Patchage. - * Copyright 2008 Nedko Arnaudov <nedko@arnaudov.name> - * - * Patchage is free software; you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation; either version 2 of the License, or (at your option) any later - * version. - * - * Patchage is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License for details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA - */ - -#ifndef LASH_PROJECT_HPP -#define LASH_PROJECT_HPP - -#include <string> -#include <list> - -#include <boost/shared_ptr.hpp> -#include <sigc++/signal.h> - -struct ProjectImpl; -class Client; - -struct LoadedProjectProperties { - bool modified_status; - std::string description; - std::string notes; -}; - -class Project { -public: - Project(const std::string& name, const LoadedProjectProperties& properties); - - ~Project(); - - void clear(); - - typedef std::list< boost::shared_ptr<Client> > Clients; - - const std::string& get_name() const; - const std::string& get_description() const; - const std::string& get_notes() const; - const Clients& get_clients() const; - bool get_modified_status() const; - - sigc::signal<void> _signal_renamed; - sigc::signal<void> _signal_modified_status_changed; - sigc::signal<void> _signal_description_changed; - sigc::signal<void> _signal_notes_changed; - - sigc::signal< void, boost::shared_ptr<Client> > _signal_client_added; - sigc::signal< void, boost::shared_ptr<Client> > _signal_client_removed; - - void on_name_changed(const std::string& name); - void on_modified_status_changed(bool modified_status); - void on_description_changed(const std::string& description); - void on_notes_changed(const std::string& notes); - void on_client_added(boost::shared_ptr<Client> client); - void on_client_removed(const std::string& id); - -private: - ProjectImpl* _impl; -}; - -#endif // LASH_PROJECT_HPP |