core/MenuStyle_Base.h
changeset 1005 b15b5682d181
parent 884 a5f3239cef1a
child 1163 0bb03cb6277b
     1.1 --- a/core/MenuStyle_Base.h	Fri Jun 22 18:44:27 2007 +0000
     1.2 +++ b/core/MenuStyle_Base.h	Fri Jun 22 21:04:13 2007 +0000
     1.3 @@ -81,7 +81,7 @@
     1.4  	void CancelMenu(CBaseMenu *menu);
     1.5  	void ClientPressedKey(int client, unsigned int key_press);
     1.6  protected:
     1.7 -	void _CancelClientMenu(int client, bool bAutoIgnore=false, MenuCancelReason reason=MenuCancel_Interrupt);
     1.8 +	void _CancelClientMenu(int client, MenuCancelReason reason, bool bAutoIgnore=false);
     1.9  	bool RedoClientMenu(int client, ItemOrder order);
    1.10  protected:
    1.11  	FastLink<int> m_WatchList;
    1.12 @@ -111,11 +111,13 @@
    1.13  	virtual void Destroy(bool releaseHandle);
    1.14  	virtual void Cancel_Finally() =0;
    1.15  	virtual Handle_t GetHandle();
    1.16 -	bool BroadcastVote(int clients[], 
    1.17 +	virtual bool BroadcastVote(int clients[], 
    1.18  		unsigned int numClients, 
    1.19  		unsigned int maxTime,
    1.20  		unsigned int flags=0);
    1.21 -	bool IsVoteInProgress();
    1.22 +	virtual bool IsVoteInProgress();
    1.23 +	virtual bool GetExitBackButton();
    1.24 +	virtual void SetExitBackButton(bool set);
    1.25  public:
    1.26  	virtual void VoteDisplay(int client, unsigned int maxTime) =0;
    1.27  private:
    1.28 @@ -135,6 +137,7 @@
    1.29  	Handle_t m_hHandle;
    1.30  	IMenuHandler *m_pHandler;
    1.31  	IVoteMenuHandler *m_pVoteHandler;
    1.32 +	bool m_ExitBackButton;
    1.33  };
    1.34  
    1.35  #endif //_INCLUDE_MENUSTYLE_BASE_H