Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

ExtVisObject.h

Go to the documentation of this file.
00001 #ifndef ExtVisObjectH
00002 #define ExtVisObjectH
00003 
00004 /*******************************************************************************
00005 Copyright 2000,2001,2002 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 
00027 /* HEADER FILES ***************************************************************/
00028 
00029 #include "VisObject.h"
00030 #include "SimpleList.h"
00031 #include "ExtObject.h"
00032 
00033 /* HEADER FILES END ***********************************************************/
00034 
00035 class CEventIdentifier;
00036 class CExtObject;
00037 
00039 
00042 class NEMESIS_CORE_PACKAGE CExtVisObject : public CVisObject {
00043     public:
00044             __fastcall CExtVisObject(TComponent* component,CComObject* owner,CPluginObjectInfo* objectinfo);
00045             __fastcall CExtVisObject(TComponent* component,CComObject* owner,CPluginObjectInfo* objectinfo,const CSmallString& name);
00046             __fastcall CExtVisObject(TComponent* component,CVisObject* owner,CPluginObjectInfo* objectinfo);
00047             __fastcall CExtVisObject(TComponent* component,CVisObject* owner,CPluginObjectInfo* objectinfo,const CSmallString& name);
00048 
00049             __fastcall ~CExtVisObject(void);
00050 
00051     bool __fastcall RegisterEventForServer(const CEventIdentifier& event,CExtObject* server);
00052     bool __fastcall UnregisterEventForServer(const CEventIdentifier& event,CExtObject* server);
00053 
00054     bool __fastcall UnregisterAllEvents(void);
00055 
00056     virtual void __fastcall ProcessEvent(const CEventIdentifier& event,CExtObject* Sender,void* p_data);
00057 
00058     private:
00059     CSimpleList<CExtObject>         Servers;            // používané servery
00060     friend class CExtObject;
00061     friend class CExtObject::CEventRecievers;
00062     };
00063 
00064 //------------------------------------------------------------------------------
00065 
00066 #endif

Generated on Sun Feb 9 12:53:50 2003 for NemesisCore by doxygen1.3-rc2