Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

seCommon.h

Go to the documentation of this file.
00001 /*
00002  *  Copyright (c) 2003 Accent Geographic. All rights reserved.
00003  *  See the license file for licensing information.
00004  *  Created 2003/05/30
00005  */
00006 

00008 

00010 
00011 // $Id: seCommon.h,v 1.10 2004/06/04 14:06:58 wmacchi Exp $
00012 
00013 #ifndef _seCommon_h
00014 #define _seCommon_h
00015 
00112 
00113 #if !defined(_WIN32)
00114 #define EXPORT_DLL
00115 #elif !defined(EXPORT_DLL)
00116 #if defined(_LIB)
00117 #define EXPORT_DLL
00118 #elif defined(_USRDLL)
00119 #define EXPORT_DLL __declspec(dllexport)
00120 #else
00121 #define EXPORT_DLL __declspec(dllimport)
00122 #endif
00123 #endif /* _WIN32 && EXPORT_DLL */
00124 
00125 
00127 #define SE_HANDLE_DECL(_c, _o) \
00128     public:  virtual void setImpl( sedris::I##_c *impl, sedris::I##_o *ownr ); \
00129     public:  sedris::I##_c *impl() const { return (_impl); } \
00130     public:  sedris::I##_o *owner() const { return (_ownr); } \
00131     private: sedris::I##_c *_impl; \
00132     private: sedris::I##_o *_ownr;
00133 
00134 #define SE_HANDLE_DECL_O(_c) \
00135     public:  sedris::I##_c *impl() const { return (_impl); } \
00136     private: sedris::I##_c *_impl;
00137 
00138 
00139 #include "drm.h"
00140 #include "se_cpp_support.h"
00141 
00142 #include "seException.h"
00143 
00144 #endif // _seCommon_h

SEDRIS Transmittal Access C++ API 4.0.0 beta - 14 Jul 2004
Copyright © 2004 SEDRIS Docs by Doxygen 1.3.2