HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
UT_Dependency.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: MPI_Dependency.h ( Modeling Op-Handle Link Library, C++ )
7  *
8  * COMMENTS:
9  *
10  */
11 
12 #ifndef __UT_Dependency_H__
13 #define __UT_Dependency_H__
14 
15 #include "UT_API.h"
16 #define DECLARE_DEPENDENCY(Library) \
17 class Library##_API DependencyOn##Library \
18 { \
19 public: \
20  DependencyOn##Library(); \
21  ~DependencyOn##Library(); \
22 };
23 
24 #define IMPLEMENT_DEPENDENCY(Library) \
25 DependencyOn##Library::DependencyOn##Library() { } \
26 DependencyOn##Library::~DependencyOn##Library() { }
27 
28 #endif