icommandpanel.h

Go to the documentation of this file.
00001 /**********************************************************************
00002  *<
00003     FILE: ICommandPanel
00004 
00005     DESCRIPTION: Command Panel API
00006 
00007     CREATED BY: Nikolai Sander
00008 
00009     HISTORY: created 7/11/00
00010 
00011  *> Copyright (c) 1994, All Rights Reserved.
00012  **********************************************************************/
00013 #pragma once
00014 
00015 #include "ifnpub.h"
00016 #include "GetCOREInterface.h"
00017 
00026 class ICommandPanel : public FPStaticInterface 
00027 {
00028     public:
00029     
00030     // function IDs 
00031     enum { 
00032            fnIdGetRollupThreshhold,
00033            fnIdSetRollupThreshhold,
00034     };
00035     
00043     virtual int GetRollupThreshold()=0;
00049     virtual void SetRollupThreshold(int iThresh)=0;
00050 };
00051 
00052 #define COMMAND_PANEL_INTERFACE Interface_ID(0x411753f6, 0x69a93710)
00053 inline ICommandPanel* GetICommandPanel() { return (ICommandPanel*)GetCOREInterface(COMMAND_PANEL_INTERFACE); }
00054