Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Core{
- private:
- string filepath;
- int time;
- int volume;
- public:
- void Play();
- void Pause();
- void Stop();
- void SetTime(int newtime);
- int GetTime();
- void SetVolume(int newvol);
- int GetVolume();
- void SetFilePatn(string newpath);
- string GetFilePath();
- };
- class Config {
- \\параметры конфигурации какие-нибудь
- public:
- LoadConfigFromFile(string filename);
- int GetSomething1();
- int GetSomething2();
- }
- class Player {
- Core core;
- Config conf;
- \\....
- };
Add Comment
Please, Sign In to add comment