Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members Related Pages

# DataBlockI.h

    00001 //-------------------------------------------------------------------------
    00002 //
    00003 // File:        DataBlockI.h
    00004 // Desc:        Plugin data interface.
    00005 // Author:      memon <memon@inside.org>
    00006 //
    00007 //-------------------------------------------------------------------------
    00008 //  Copyright (c) 2000-2002 Moppi Productions. All Rights Reserved.
    00009 //  This file is part of Moppi Demopaja SDK. For conditions of
    00010 //  distribution and use, see the accompanying license.txt file.
    00011 //  http://moppi.inside.org/demopaja/
    00012 //-------------------------------------------------------------------------
    00013
    00014 #ifndef __DEMOPAJA_DATABLOCKI_H__
    00015 #define __DEMOPAJA_DATABLOCKI_H__
    00016
    00017
    00018 namespace Edit {
    00019
    00021
    00027     class DataBlockI
    00028     {
    00029     public:
    00031
    00044         virtual DataBlockI*         create() = 0;
    00045
    00047
    00062         virtual void                release();
    00063
    00065
    00071         virtual void                set_alive( bool bState );
    00073         virtual bool                get_alive() const;
    00074
    00075     protected:
    00077         DataBlockI();
    00079         virtual ~DataBlockI();
    00080
    00081         bool        m_bAlive;
    00082     };
    00083
    00084 };  // namespace
    00085
    00086 #endif // __DEMOPAJA_DATABLOCKI_H__