Changeset 1265 in Sophya for trunk/SophyaPI/PIext


Ignore:
Timestamp:
Oct 31, 2000, 6:05:42 PM (25 years ago)
Author:
ercodmgr
Message:

GetTmpDir SetTmpDir ds nobjmgr.h
re-ecriture commande sur piconsole en bleu/bleu_gras
suppression OBJ ds CrMakeFile

rz+cmv 31/10/00

Location:
trunk/SophyaPI/PIext
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/cxxexecutor.cc

    r1262 r1265  
    445445os<<"LIBS := $(LIBS) -ldl -lf2c"<<endl;
    446446os<<"endif"<<endl;
    447 os<<"%.so:$(OBJ)%.o"<<endl;
     447os<<"%.so:%.o"<<endl;
    448448os<<"%:%.cc"<<endl;
    449449os<<"%:%.o"<<endl;
     
    456456os<<"%:%.so"<<endl;
    457457os<<"\t"<<"echo $@ \" made (.so) \""<<endl;
    458 os<<"%.so:$(OBJ)%.o"<<endl;
     458os<<"%.so:%.o"<<endl;
    459459os<<"\t"<<"$(LINK.cc) -shared -o $@ $< $(LIBS) $(MYLIBS)"<<endl;
    460 os<<"$(OBJ)%.o:%.cc"<<endl;
     460os<<"%.o:%.cc"<<endl;
    461461os<<"\t"<<"$(COMPILE.cc)  -o $@ $<"<<endl;
    462 os<<"$(OBJ)%.o:%.c"<<endl;
     462os<<"%.o:%.c"<<endl;
    463463os<<"\t"<<"$(COMPILE.c) -c $(CFLAGS)   $(USERFLAGS) -o $@ $<"<<endl;
    464464//---------------------------------------------------------------------
  • trunk/SophyaPI/PIext/nobjmgr.cc

    r1224 r1265  
    196196
    197197/* --Methode-- */
     198virtual string const& NamedObjMgr::GetTmpDir()
     199{
     200return *TmpDir;
     201}
     202
     203/* --Methode-- */
     204virtual void NamedObjMgr::SetTmpDir(string const& tmpdir)
     205{
     206if(tmpdir.length()<1) return;
     207*TmpDir = tmpdir;
     208}
     209
     210/* --Methode-- */
    198211bool NamedObjMgr::SetVar(string const & key, string const & val)
    199212{
  • trunk/SophyaPI/PIext/nobjmgr.h

    r1224 r1265  
    9797  virtual PIStdImgApp*          GetImgApp();
    9898  virtual Services2NObjMgr*     GetServiceObj();
     99  virtual string const&         GetTmpDir();
     100  virtual void                  SetTmpDir(string const& tmpdir);
    99101
    100102  virtual void          AddWRsId(string & nom, int wrsid);
  • trunk/SophyaPI/PIext/piacmd.cc

    r1262 r1265  
    819819  }
    820820//  Execution d'une commande enregistree
     821// CMV c'est ici qu'il faut passer la string
    821822else rc = ExecuteCommand(kw, tokens);
    822823
  • trunk/SophyaPI/PIext/pistdimgapp.cc

    r1251 r1265  
    371371else if ( msg == 30200  ) {    // Objet PIConsole
    372372  string s = mCons->GetCmdString();
    373   string s2 = "\nExecuting " + s + "\n";
    374   mCons->AddStr(s2.c_str(), PIVA_Blue, true);
     373  //  string s2 = "\nExecuting " + s + "\n";
     374  mCons->AddStr("Cmd> ", PIVA_Blue, false);
     375  //  s2 = s + "\n";
     376  mCons->AddStr(s.c_str(), PIVA_Blue|PIVA_Bold, false);
     377  mCons->AddChar('\n', PIVA_Def, true);
    375378  SetBusy();
    376379#ifdef SANS_EVOLPLANCK
Note: See TracChangeset for help on using the changeset viewer.