IHeightManager.h

Go to the documentation of this file.
00001 
00002  /**********************************************************************
00003  *<
00004     FILE: HeightManager.h
00005 
00006     DESCRIPTION: Height Manager
00007 
00008     CREATED BY: Nikolai Sander
00009 
00010     HISTORY: Created 1 January, 2005,
00011 
00012  *> Copyright (c) 1998, All Rights Reserved.
00013  **********************************************************************/
00014 #pragma once
00015 
00016 #include "ifnpub.h"
00017 #include "GetCOREInterface.h"
00018 
00023 class IHeightManager : public FPStaticInterface {
00024     public:
00026         virtual void CustomizeHeights()=0;
00030         virtual float GetHeight(int index)=0;
00034         virtual MCHAR *GetHeightString(int index)=0;
00037         virtual int GetCurrentHeightIndex()=0;
00040         virtual void SetCurrentHeightIndex(int index)=0;
00043         virtual int GetNumHeights()=0;
00044         
00045     }; 
00047 #define IHEIGHTMAN_INTERFACE   Interface_ID(0x78632529, 0xc179d875)
00048 
00050 inline IHeightManager* GetHeightManagerInterface() { return (IHeightManager*)GetCOREInterface(IHEIGHTMAN_INTERFACE); }
00051 
00052