jack: remove unnecessary GPL include from LGPL code
[jack2.git] / common / JackExternalClient.h
blob00b26818c99c06b0ed933407eceee311eda9d67f
1 /*
2 Copyright (C) 2001 Paul Davis
3 Copyright (C) 2004-2008 Grame
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 #ifndef __JackExternalClient__
22 #define __JackExternalClient__
24 #include "JackClientInterface.h"
25 #include "JackPlatformPlug.h"
27 namespace Jack
30 struct JackClientControl;
32 /*!
33 \brief Server side implementation of library clients.
36 class JackExternalClient : public JackClientInterface
39 private:
41 JackNotifyChannel fChannel; /*! Server/client communication channel */
42 JackClientControl* fClientControl; /*! Client control in shared memory */
44 public:
46 JackExternalClient();
47 virtual ~JackExternalClient();
49 int Open(const char* name, int pid, int refnum, jack_uuid_t uuid, int* shared_client);
50 int Close();
52 int ClientNotify(int refnum, const char* name, int notify, int sync, const char* message, int value1, int value2);
54 JackClientControl* GetClientControl() const;
58 } // end of namespace
60 #endif