Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4746 in orxonox.OLD for orxonox/trunk/src/util/state.h


Ignore:
Timestamp:
Jul 1, 2005, 12:48:48 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: changed (void) → ()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/util/state.h

    r4597 r4746  
    1717 public:
    1818  /** \returns a Pointer to the only object of this Class */
    19   inline static State* getInstance(void) { if (!singletonRef) singletonRef = new State();  return singletonRef; };
     19  inline static State* getInstance() { if (!singletonRef) singletonRef = new State();  return singletonRef; };
    2020
    21   virtual ~State(void);
     21  virtual ~State();
    2222
    2323  void setCamera(const PNode* camera, const PNode* cameraTarget);
    2424  /** \returns a Pointer to the PNode of the Camera */
    25   const PNode* getCamera(void) const { return this->camera; };
     25  const PNode* getCamera() const { return this->camera; };
    2626  /** \returns a Pointer to the CameraTarget */
    27   const PNode* getCameraTarget(void) const { return this->cameraTarget; };
     27  const PNode* getCameraTarget() const { return this->cameraTarget; };
    2828
    2929 private:
    30   State(void);
     30  State();
    3131  static State*       singletonRef;       //!< a reference to this class
    3232
Note: See TracChangeset for help on using the changeset viewer.