[!if DLL_APP] // The following ifdef block is the standard way of creating macros which make exporting // from a DLL simpler. All files within this DLL are compiled with the [!output UPPER_CASE_SAFE_PROJECT_IDENTIFIER_NAME]_EXPORTS // symbol defined on the command line. this symbol should not be defined on any project // that uses this DLL. This way any other project whose source files include this file see // [!output UPPER_CASE_SAFE_PROJECT_IDENTIFIER_NAME]_API functions as being imported from a DLL, whereas this DLL sees symbols // defined with this macro as being exported. #ifdef [!output UPPER_CASE_SAFE_PROJECT_IDENTIFIER_NAME]_EXPORTS #define [!output UPPER_CASE_SAFE_PROJECT_IDENTIFIER_NAME]_API __declspec(dllexport) #else #define [!output UPPER_CASE_SAFE_PROJECT_IDENTIFIER_NAME]_API __declspec(dllimport) #endif // This class is exported from the [!output PROJECT_NAME].dll class [!output UPPER_CASE_SAFE_PROJECT_IDENTIFIER_NAME]_API C[!output SAFE_PROJECT_IDENTIFIER_NAME] { public: C[!output SAFE_PROJECT_IDENTIFIER_NAME](void); // TODO: add your methods here. }; extern [!output UPPER_CASE_SAFE_PROJECT_IDENTIFIER_NAME]_API int n[!output SAFE_PROJECT_IDENTIFIER_NAME]; [!output UPPER_CASE_SAFE_PROJECT_IDENTIFIER_NAME]_API int fn[!output SAFE_PROJECT_IDENTIFIER_NAME](void); [!else] #pragma once [!if !MULTIPLE_PLATFORM] [!if STANDARDSHELL_UI_MODEL] #include "resource.h" [!endif] [!if POCKETPC2003_UI_MODEL] #include "resourceppc.h" [!endif] [!if SMARTPHONE2003_UI_MODEL] #include "resourcesp.h" [!endif] [!if AYGSHELL_UI_MODEL] #include "resourceayg.h" [!endif] [!else] [!if STANDARDSHELL_UI_MODEL] #ifdef STANDARDSHELL_UI_MODEL #include "resource.h" #endif [!endif] [!if POCKETPC2003_UI_MODEL] #ifdef POCKETPC2003_UI_MODEL #include "resourceppc.h" #endif [!endif] [!if SMARTPHONE2003_UI_MODEL] #ifdef SMARTPHONE2003_UI_MODEL #include "resourcesp.h" #endif [!endif] [!if AYGSHELL_UI_MODEL] #ifdef AYGSHELL_UI_MODEL #include "resourceayg.h" #endif [!endif] [!endif] [!endif]