Changeset 2273 in Sophya for trunk


Ignore:
Timestamp:
Nov 17, 2002, 5:30:15 PM (23 years ago)
Author:
ansari
Message:

Mini extension interface PIConsole - Reza 17/11/2002

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PI/picons.h

    r1640 r2273  
    88
    99#include "pisysdep.h"
     10#include <string>
    1011
    1112#include PISTDWDG_H
     
    4243          void       AcceptCmd(bool acc=true, int nrecmx=20);
    4344          void       SetPrompt(const char* prompt);
     45  inline  void       SetPrompt(string const& pr) { SetPrompt(pr.c_str()); }
     46  inline  string     GetPrompt() const { return (string(mPrompt)); }
    4447
    4548  inline  int        WindNbLines() { return mWSzL; }
Note: See TracChangeset for help on using the changeset viewer.