00001 //------------------------------------------------------------------- 00004 // Copyright (c) 2007 Celeritive Technologies, Inc. 00005 // 00006 // Licensed under the Apache License, Version 2.0 (the "License"); 00007 // you may not use this file except in compliance with the License. 00008 // You may obtain a copy of the License at 00009 // 00010 // http://www.apache.org/licenses/LICENSE-2.0 00011 // 00012 // Unless required by applicable law or agreed to in writing, software 00013 // distributed under the License is distributed on an "AS IS" BASIS, 00014 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00015 // See the License for the specific language governing permissions and 00016 // limitations under the License. 00017 // 00018 //------------------------------------------------------------------- 00019 00020 #pragma once 00021 00022 #ifndef __AFXWIN_H__ 00023 #error include 'stdafx.h' before including this file for PCH 00024 #endif 00025 00026 #include "resource.h" // main symbols 00027 00028 00029 // CVoluMillGUIApp: 00030 // See VoluMillGUI.cpp for the implementation of this class 00031 // 00032 00033 class CVoluMillGUIApp : public CWinApp 00034 { 00035 public: 00036 CVoluMillGUIApp(); 00037 00038 // Overrides 00039 public: 00040 virtual BOOL InitInstance(); 00041 00042 // Implementation 00043 00044 DECLARE_MESSAGE_MAP() 00045 }; 00046 00047 extern CVoluMillGUIApp theApp; 00048 00049 const int VOLUMILL2X_UNIVERSAL_ID = 1; 00050 const int VOLUMILL_2X_MAJOR = 1; 00051 const int VOLUMILL_2X_MINOR = 50; 00052 00053 inline int getVoluMill2xVersion() 00054 { 00055 return (VOLUMILL2X_UNIVERSAL_ID << 16) + (VOLUMILL_2X_MAJOR << 8) + VOLUMILL_2X_MINOR; 00056 }