|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Bannato
Iscritto dal: Nov 2002
Città: PV
Messaggi: 1210
|
[C++]Funzioni editor
Che funzioni mi mancano oltre a quelle gia scritte x un engine di editor di testo??
Codice:
#ifndef MOTOR_H #define MOTOR_H #include "Define.h" /** * Il motore dell' editor. * Regge tutti i plugin * * The engine of the editor. * Run all plugins */ namespace TeckEdit{ class Error; class Engine { public: /** Class constructor */ Engine(); /** Class destructor */ ~Engine(); /** Init the Application */ void Init(Engine &eng); /** Open a file */ bool Open(kstring filename); /** Get size of file */ int GetLenght(); /** Get the path of files */ inline kstring GetPath(){ return _path; }; /** Load Configuration */ void LoadConfig(); /** Save Configuration */ void SaveConfig(kstring filename, kstring cnf); /** Parse the information to save */ kstring Parse(kstring conf); /** Appy the config */ void ApplyConfig(); /** Print a files */ void Print(); private: /** the name of files */ kstring _filename; /** the name of files conf */ kstring _confname; /** the desidered extension */ kstring _ext; /** the assolute path of files */ kstring _path; /** the size of file */ kint _size; /** the editor config */ kstring _conf; /** the default extension to save */ kstring _defext; /** a pointer to Error class */ Error* err; }; }// namespace #endif // Engine_H //:~ |
![]() |
![]() |
![]() |
#2 |
Senior Member
Iscritto dal: Apr 2000
Città: Vicino a Montecatini(Pistoia) Moto:Kawasaki Ninja ZX-9R Scudetti: 29
Messaggi: 53971
|
Taglia, copia, incolla, ricerca, sostituisci...tutte quelle del menù modifica dell'editor...
|
![]() |
![]() |
![]() |
#3 | |
Bannato
Iscritto dal: Nov 2002
Città: PV
Messaggi: 1210
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 15:13.