00001 #ifndef CoreDataModuleUnitH 00002 #define CoreDataModuleUnitH 00003 00004 /******************************************************************************* 00005 Copyright 1998,1999,2000,2001,2002,2003 Petr Kulhanek 00006 00007 This file is part of Core plugin. 00008 00009 Core plugin is free software; you can redistribute it and/or modify 00010 it under the terms of the GNU General Public License as published by 00011 the Free Software Foundation; either version 2 of the License, or 00012 (at your option) any later version. 00013 00014 Core plugin is distributed in the hope that it will be useful, 00015 but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 GNU General Public License for more details. 00018 00019 You should have received a copy of the GNU General Public License 00020 along with Core plugin; if not, write to the Free Software 00021 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00022 *******************************************************************************/ 00023 /******************************************************************************* 00024 ** PROJECT: Project NEMESIS 00025 ** FILE: CoreDataModuleUnit 00026 ** FUNCTION: localization and images 00027 ** VERSION: 1.0 00028 ** LANGUAGE: CBuilder C++ 00029 ** TARGET COMPUTER: IBM PC 00030 ** PROGRAMMER: Petr Kulhánek 00031 ** HISTORY: 00032 VERSION DATE NOTE 00033 *******************************************************************************/ 00034 00038 /* HEADER FILES ***************************************************************/ 00039 00040 #include "CoreMainHeader.h" 00041 #include <Classes.hpp> 00042 #include <Controls.hpp> 00043 #include <StdCtrls.hpp> 00044 #include <Forms.hpp> 00045 #include "LocaleStrings.h" 00046 #include <ImgList.hpp> 00047 #include <ScktComp.hpp> 00048 00049 /* HEADER FILES END ***********************************************************/ 00050 00051 00052 //--------------------------------------------------------------------------- 00053 00054 // konstanty pro image indexy jednotlivých objektů 00055 00056 #define CORE_GENERIC_IMG 0 00057 #define ATOM_IMG 1 00058 #define BOND_IMG 2 00059 #define MOLECULE_IMG 3 00060 #define FRAGMENT_IMG 4 00061 #define CONSTRAINT_IMG 5 00062 #define GRAPHICS_PROFILE_IMG 6 00063 #define STRUCTURE_UNIT_IMG 7 00064 #define DISPLAY_ENUM_IMG 8 00065 #define GRAPHICS_PROFILE_ENUM_IMG 9 00066 #define GRAPHICS_OBJECT_ENUM_IMG 10 00067 #define ATOM_ENUM_IMG 11 00068 #define BOND_ENUM_IMG 12 00069 #define FRAGMENT_ENUM_IMG 13 00070 #define STRUCTURE_UNIT_ENUM_IMG 14 00071 #define CONSTRAINT_ENUM_IMG 15 00072 #define DEFAULT_INSERTER_IMG 16 00073 #define CALCULATION_ENUM_IMG 17 00074 #define JOB_ENUMERATOR_IMG 18 00075 #define CT_ATOM_IMG 19 00076 #define CT_DISTANCE_IMG 20 00077 #define CT_ANGLE_IMG 21 00078 #define CT_DIHEDRAL_IMG 22 00079 #define SEQUENCE_IMG 23 00080 #define CALCULATION_MOL_INFO_ENUM_IMG 24 00081 #define MOL_INFO_IMG 25 00082 00083 //--------------------------------------------------------------------------- 00084 00085 class TCoreDataModule : public TDataModule{ 00086 __published: // IDE-managed Components 00087 TLocaleStrings *LocaleStrings; 00088 TImageList *ImageList; 00089 TLocaleStrings *PeriodicTableStrings; 00090 TLocaleStrings *ErrorStrings; 00091 private: // User declarations 00092 public: // User declarations 00093 __fastcall TCoreDataModule(TComponent* Owner); 00094 }; 00095 00096 //--------------------------------------------------------------------------- 00097 00098 extern NEMESIS_CORE_PACKAGE class TCoreDataModule* CoreDataModule; 00099 00100 //--------------------------------------------------------------------------- 00101 00102 #endif