Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 25, 2008, 9:58:14 PM (17 years ago)
Author:
landauf
Message:

finally got a good approach for the CommandExecutor parser. more to come.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/console/src/core/Shell.h

    r1334 r1424  
    4545        friend class Shell;
    4646
    47         virtual void linesChanged() {}
    48         virtual void onlyLastLineChanged() {}
    49         virtual void lineAdded() {}
    50         virtual void inputChanged() {}
    51         virtual void cursorChanged() {}
    52         virtual void exit() {}
     47        public:
     48            virtual ~ShellListener() {}
     49
     50        private:
     51            virtual void linesChanged() {}
     52            virtual void onlyLastLineChanged() {}
     53            virtual void lineAdded() {}
     54            virtual void inputChanged() {}
     55            virtual void cursorChanged() {}
     56            virtual void exit() {}
    5357    };
    5458
     
    5862            static Shell& getInstance();
    5963            static Shell& createShell();
     64
     65            static void clearShell();
     66            static void history();
    6067
    6168            virtual void setConfigValues();
     
    8390            std::list<std::string>::const_iterator getEndIterator() const;
    8491
    85             void addLine(const std::string& line, int level);
     92            void addLine(const std::string& line, int level = 0);
    8693            void clearLines();
    8794
Note: See TracChangeset for help on using the changeset viewer.