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

# DeviceFeedbackC.h

    00001 //-------------------------------------------------------------------------
    00002 //
    00003 // File:        DeviceFeedbackC.h
    00004 // Desc:        Device feedback class.
    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_DEVICEFEEDBACKC_H__
    00015 #define __DEMOPAJA_DEVICEFEEDBACKC_H__
    00016
    00017 #include "PajaTypes.h"
    00018 #include "FileListC.h"
    00019 #include "SceneC.h"
    00020 #include "DeviceContextC.h"
    00021
    00022 namespace PajaSystem {
    00023
    00025     enum InitReasonE {
    00026         INIT_INITIAL_UPDATE = 1,
    00027         INIT_DEVICE_CHANGED = 2,
    00028         INIT_DEVICE_INVALIDATE = 3,
    00029         INIT_DEVICE_VALIDATE = 4,
    00030     };
    00031
    00032
    00034
    00037     class DeviceFeedbackC {
    00038     public:
    00039         DeviceFeedbackC();
    00040         virtual ~DeviceFeedbackC();
    00041
    00043         virtual void    set_scene( Composition::SceneC* pScene );
    00045         virtual void    set_filelist( Import::FileListC* pFileList );
    00047         virtual void    set_devicecontext( PajaSystem::DeviceContextC* pContext );
    00048
    00050         virtual void    send_init( PajaTypes::uint32 ui32Reason );
    00051
    00052     private:
    00053         Composition::SceneC*        m_pScene;
    00054         Import::FileListC*          m_pFileList;
    00055         PajaSystem::DeviceContextC* m_pDevContext;
    00056     };
    00057
    00058 };
    00059
    00060 #endif