Add a string parameter to server ==> client notification, add a new InfoShutdown...
[jack2.git] / common / JackClientInterface.h
blobbd94ed383b70aaee7342f3d4b65a7557d32f687f
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 Lesser General Public License as published by
7 the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21 #ifndef __JackClientInterface__
22 #define __JackClientInterface__
24 #include "JackCompilerDeps.h"
26 namespace Jack
29 struct JackClientControl;
31 /*!
32 \brief Client interface.
35 class SERVER_EXPORT JackClientInterface
38 public:
40 JackClientInterface()
42 virtual ~JackClientInterface()
45 virtual int Close() = 0;
47 virtual int ClientNotify(int refnum, const char* name, int notify, int sync, const char* message, int value1, int value2) = 0;
49 virtual JackClientControl* GetClientControl() const = 0;
53 } // end of namespace
55 #endif