Browse Source

Correct visibility warnings.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4191 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/1.9.7
sletz 15 years ago
parent
commit
84879fe890
5 changed files with 15 additions and 15 deletions
  1. +1
    -1
      common/JackClient.h
  2. +1
    -1
      common/JackDebugClient.h
  3. +2
    -2
      common/JackLibClient.h
  4. +9
    -9
      common/JackLibGlobals.h
  5. +2
    -2
      common/JackMidiPort.h

+ 1
- 1
common/JackClient.h View File

@@ -44,7 +44,7 @@ struct JackEngineControl;
\brief The base class for clients: share part of the implementation for JackInternalClient and JackLibClient.
*/

class JackClient : public JackClientInterface, public JackRunnableInterface
class SERVER_EXPORT JackClient : public JackClientInterface, public JackRunnableInterface
{
friend class JackDebugClient;



+ 1
- 1
common/JackDebugClient.h View File

@@ -46,7 +46,7 @@ PortFollower;
\brief A "decorator" debug client to validate API use.
*/

class JackDebugClient : public JackClient
class SERVER_EXPORT JackDebugClient : public JackClient
{
protected:



+ 2
- 2
common/JackLibClient.h View File

@@ -12,7 +12,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with this program; if not, write to the Free Software
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

*/
@@ -32,7 +32,7 @@ namespace Jack
\brief Client on the library side.
*/

class JackLibClient : public JackClient
class SERVER_EXPORT JackLibClient : public JackClient
{

private:


+ 9
- 9
common/JackLibGlobals.h View File

@@ -12,7 +12,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with this program; if not, write to the Free Software
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

*/
@@ -31,7 +31,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "JackError.h"
#include <assert.h>
#include <signal.h>

namespace Jack
{
@@ -42,13 +42,13 @@ class JackClient;
\brief Global library static structure: singleton kind of pattern.
*/

struct JackLibGlobals
struct SERVER_EXPORT JackLibGlobals
{
JackShmReadWritePtr<JackGraphManager> fGraphManager; /*! Shared memory Port manager */
JackShmReadWritePtr<JackEngineControl> fEngineControl; /*! Shared engine control */ // transport engine has to be writable
JackSynchro fSynchroTable[CLIENT_NUM]; /*! Shared synchro table */
sigset_t fProcessSignals;
static int fClientCount;
static JackLibGlobals* fGlobals;

@@ -67,7 +67,7 @@ struct JackLibGlobals
sigemptyset(&signals);
sigaddset(&signals, SIGPIPE);
sigprocmask(SIG_BLOCK, &signals, &fProcessSignals);
#endif
#endif
}

~JackLibGlobals()
@@ -83,13 +83,13 @@ struct JackLibGlobals
// TODO
#else
sigprocmask(SIG_BLOCK, &fProcessSignals, 0);
#endif
#endif
}

static void Init()
{
if (!JackGlobals::fServerRunning && fClientCount > 0) {
// Cleanup remaining clients
jack_error("Jack server was closed but clients are still allocated, cleanup...");
for (int i = 0; i < CLIENT_NUM; i++) {
@@ -101,13 +101,13 @@ struct JackLibGlobals
JackGlobals::fClientTable[CLIENT_NUM] = NULL;
}
}
// Cleanup global context
fClientCount = 0;
delete fGlobals;
fGlobals = NULL;
}
if (fClientCount++ == 0 && !fGlobals) {
jack_log("JackLibGlobals Init %x", fGlobals);
InitTime();


+ 2
- 2
common/JackMidiPort.h View File

@@ -13,7 +13,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with this program; if not, write to the Free Software
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

*/
@@ -71,7 +71,7 @@ struct SERVER_EXPORT JackMidiEvent
* but their data (if not inlined) is stored from the end of the same buffer.
*/

struct JackMidiBuffer
struct SERVER_EXPORT JackMidiBuffer
{
enum { MAGIC = 0x900df00d };



Loading…
Cancel
Save