Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 26, 2010, 4:09:23 PM (15 years ago)
Author:
smerkli
Message:

stuff works, but keybinding still does only work in the build folder

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/chat/src/orxonox/ChatInputHandler.h

    r6777 r6788  
    3939/* project includes */
    4040#include <OrxonoxPrereqs.h>
    41 #include <InputBuffer.h>
    42 #include <Host.h>
     41#include "core/input/InputBuffer.h"
     42#include "core/input/InputManager.h"
     43#include "core/input/InputState.h"
     44#include "../libraries/network/Host.h"
     45#include <core/BaseObject.h>
     46#include <PlayerManager.h>
     47#include <infos/PlayerInfo.h>
     48#include <network/ChatListener.h>
     49#include <core/PathConfig.h>
     50#include <util/Singleton.h>
    4351
    4452
     
    4654{
    4755  /* class to handle chat using an InputBuffer */
    48   class _OrxonoxExport ChatInputHandler : public Singleton<ChatInputHandler>
     56  class _OrxonoxExport ChatInputHandler : public Singleton<ChatInputHandler>,
     57    public OrxonoxClass
    4958  {
    5059    private:
     
    5463      InputBuffer *inpbuf;
    5564
    56       /* setup input buffer, the constructor calls this */
     65      /** input state */
     66      InputState *inputState;
     67
     68      /** setup input buffer, the constructor calls this */
    5769      void configureInputBuffer();
     70
     71      /* singleton pointer */
     72      static ChatInputHandler* singletonPtr_s;
    5873
    5974    public:
     
    6580      void activate();
    6681      void deactivate();
     82
     83      /* callbacks for input handler */
    6784
    6885      void inputChanged();
Note: See TracChangeset for help on using the changeset viewer.