From cbe721af1a9c84169cec5e58ffbd71367bb8199b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 15 Dec 2010 03:59:18 +0000 Subject: Simplify LashClient. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2694 a436a847-0d15-0410-975c-d299462d15a1 --- src/LashClient.hpp | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) (limited to 'src/LashClient.hpp') diff --git a/src/LashClient.hpp b/src/LashClient.hpp index 6ae6a2b..bd18d6c 100644 --- a/src/LashClient.hpp +++ b/src/LashClient.hpp @@ -1,6 +1,5 @@ -// -*- Mode: C++ ; indent-tabs-mode: t -*- /* This file is part of Patchage. - * Copyright (C) 2008-2009 David Robillard + * Copyright (C) 2008-2010 David Robillard * Copyright (C) 2008 Nedko Arnaudov * * Patchage is free software; you can redistribute it and/or modify it under the @@ -24,37 +23,28 @@ #include class LashClientImpl; -class LashProxy; -class LashProxyImpl; class Project; class LashClient { public: LashClient( - LashProxy* proxy, - Project* project, + Project* project, const std::string& id, const std::string& name); ~LashClient(); - Project* - get_project(); + Project* get_project(); - const std::string& get_id() const; + const std::string& get_id() const; const std::string& get_name() const; - void do_rename(const std::string& name); + void set_name(const std::string& name); sigc::signal _signal_renamed; private: - friend class LashProxyImpl; - - void - on_name_changed(const std::string& name); - LashClientImpl* _impl; }; -- cgit v1.2.1