File: GipsDefs.h

package info (click to toggle)
sipxtapi 3.3.0~test18%2Bdfsg.1-0.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 55,892 kB
  • sloc: cpp: 435,979; ansic: 14,207; makefile: 2,491; java: 2,264; sh: 1,310; perl: 844; xml: 225; awk: 5
file content (55 lines) | stat: -rw-r--r-- 1,270 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
//
// Copyright (C) 2004-2006 SIPfoundry Inc.
// Licensed by SIPfoundry under the LGPL license.
//
// Copyright (C) 2004-2006 Pingtel Corp.  All rights reserved.
// Licensed to SIPfoundry under a Contributor Agreement.
//
// $$
///////////////////////////////////////////////////////////////////////////////

#ifndef _GIPSDEFS_H
#define _GIPSDEFS_H

// SYSTEM INCLUDES
// APPLICATION INCLUDES
#ifdef VOICE_ENGINE

#if defined(_WIN32)
#   include "GipsVoiceEngineLib.h"
#   include "GIPSAECTuningWizardAPI.h"             
#elif defined (__APPLE__)
#   include "mac/GipsVoiceEngineLib.h"
#else
#   include "GipsVoiceEngineLibLinux.h"
#endif

#ifdef VIDEO
#  if defined(_WIN32)
#    include "GipsVideoEngine.h"
#    include <windows.h>
#    include "GipsVideoEngineWindows.h"
#  elif defined(__APPLE__)
#    include "mac/GipsVideoEngine.h"
#    include <carbon/Carbon.h>
#    include "mac/GipsVideoEngineMac.h"
#  else
#    error("Unknown platform") ;
#  endif
#endif

#ifdef VIDEO
#  if defined(_WIN32)
typedef GipsVideoEngineWindows GipsVideoEnginePlatform ;
#  elif defined(__APPLE__)
typedef GipsVideoEngineMac GipsVideoEnginePlatform;
#  else
#    error("Unknown platform") ;
#  endif
#endif

#else
typedef void* GipsVideoEnginePlatform;
#endif

#endif // _GIPSDEFS_H