00001 #ifndef CoreHistoryListH 00002 #define CoreHistoryListH 00003 /******************************************************************************* 00004 Copyright 2001,2002 Petr Kulhanek 00005 00006 This file is part of Core plugin. 00007 00008 Core plugin is free software; you can redistribute it and/or modify 00009 it under the terms of the GNU General Public License as published by 00010 the Free Software Foundation; either version 2 of the License, or 00011 (at your option) any later version. 00012 00013 Core plugin is distributed in the hope that it will be useful, 00014 but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 GNU General Public License for more details. 00017 00018 You should have received a copy of the GNU General Public License 00019 along with Core plugin; if not, write to the Free Software 00020 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00021 *******************************************************************************/ 00022 /******************************************************************************* 00023 ** PROJEKT: Projekt NEMESIS 00024 ** SOUBOR: CoreHistoryList 00025 ** ÚČEL: slouží k záznamu změn 00026 ** VERZE: 1.0 00027 ** JAZYK: C++ Builder 00028 ** CÍLOVÝ POČÍTAČ: IBM PC 00029 ** PROGRAMÁTOR: Petr Kulhánek 00030 ** HISTORIE ÚPRAV: 00031 VERZE DATUM POZNÁMKA 00032 1.0 2001-04-12 rozšiřuje vlastnosti HistoryListu z knihovny HiPoLy 00033 o lokalizaci on-the-fly a podporu práce s pluginy 00034 *******************************************************************************/ 00035 00039 /* HLAVIČKOVÉ SOUBORY *********************************************************/ 00040 00041 #include "CoreMainHeader.h" 00042 #include "HistoryList.h" 00043 #include "ComObject.h" 00044 00045 /* KONEC HLAVIČKOVÝCH SOUBORů *************************************************/ 00046 00047 /* DEFINICE TŘÍD **************************************************************/ 00048 00050 00053 enum EHistoryLockLevel{ 00054 HLL_ALL_LOCK_LEVEL=0, // není povolena žádná změna 00055 HLL_DESCRIPTION_LEVEL, // povolena změna pouze popisu struktury 00056 HLL_STRUCTURE_AND_DESCRIPTION_LEVEL, // povolena změna struktury 00057 }; 00058 00059 // ----------------------------------------------------------------------------- 00060 00062 00065 class NEMESIS_CORE_PACKAGE CCoreElementsRecord : public CElementsRecord, public CComObject{ 00066 public: 00067 // konstruktor 00068 __fastcall CCoreElementsRecord(CComObject* owner,const CSmallString& change_tag,bool forward_direction,CPluginObjectInfo* objectinfo); 00069 00070 // zjistí popis podle lokalizace 00071 virtual CSmallString __fastcall GetDescription(const CSmallString& format); 00072 }; 00073 00074 #endif