/********************************************************************

  Module: TiStartFrameEvent

  Author: Carlo Ordonez

  Description:

    Start/Splash screen events

  Copyright 2005 Sony Online Entertainment.  All rights reserved.

*********************************************************************/

#ifndef _TiStartFrameEvent_h_
#define _TiStartFrameEvent_h_

#include "wx/event.h"

// event prototypes
DECLARE_EVENT_TYPE( TISTARTFRAME_DEBUG_START, -1 )

// todo
//DECLARE_EVENT_TYPE( TISTARTFRAME_NEW_GAME, -1 )
//DECLARE_EVENT_TYPE( TISTARTFRAME_LOAD_GAME, -1 )
//DECLARE_EVENT_TYPE( TISTARTFRAME_OPTIONS, -1 )
//DECLARE_EVENT_TYPE( TISTARTFRAME_CREDITS, -1 )

// for subscribing via event tables
#define EVT_TISTARTFRAME_DEBUG_START(func)    DECLARE_EVENT_TABLE_ENTRY( TISTARTFRAME_DEBUG_START, wxID_ANY, wxID_ANY, (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent( TiStartFrameEventFunction, &func ), (wxObject*)NULL ),

class TiStartFrameEvent : public wxCommandEvent
{
public:
  TiStartFrameEvent( int Command, int WindowId );
};

// for subscribing via wxEvtHandler::Connect()
typedef void (wxEvtHandler::*TiStartFrameEventFunction)(TiStartFrameEvent&);

#endif

