Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5206 in orxonox.OLD for trunk/src/lib/shell/shell_buffer.h


Ignore:
Timestamp:
Sep 19, 2005, 12:31:56 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: Shell no more singleton, and ShellInput is now derive from Text correctly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/shell/shell_buffer.h

    r5177 r5206  
    1212
    1313// FORWARD DECLARATION
     14class Shell;
    1415template<class T> class tList;
    1516template<class T> class tIterator;
     
    2728  /** @returns true if this class is instanciated, false otherwise */
    2829  inline static bool isInstanciated() { return (ShellBuffer::singletonRef == NULL)?false:true; };
     30
     31  void registerShell(Shell* shell);
     32  void unregisterShell(Shell* shell);
    2933
    3034  // BUFFER //
     
    5458   tIterator<char>*         bufferIterator;                     //!< An iterator for the Shells main buffer.
    5559
     60   Shell*                   shell;                              //!< the Registered Shell.
    5661   char                     bufferArray[SHELL_BUFFER_SIZE];     //!< a BUFFER for fast writing
    5762   char                     keepBufferArray[SHELL_BUFFER_SIZE]; //!< a BUFFER to have multi-non-newLine commands be copied into the shell.
Note: See TracChangeset for help on using the changeset viewer.