forked from 0ad/0ad
janwas
73683b6109
. the massive renaming undertaking: camelCase functions -> PascalCase. . add some cppdoc. . minor additional renaming improvements: e.g. GetIsClosed -> IsClosed . in entity code, replace constructs like "pvec = new vector; return pvec; use *pvec; delete pvec" with a simple stack variable passed as output parameter (avoid unnecessary dynamic allocs) . timer: simpler handling of raw ticks vs normal timer (less #if) This was SVN commit r5017.
23 lines
310 B
C++
23 lines
310 B
C++
#ifndef CPLAYLIST_H
|
|
#define CPLAYLIST_H
|
|
|
|
#include <vector>
|
|
#include <string>
|
|
#include <fstream>
|
|
|
|
class CPlayList
|
|
{
|
|
public:
|
|
CPlayList();
|
|
CPlayList(const char* file);
|
|
~CPlayList();
|
|
void Load(const char* file);
|
|
void List();
|
|
void Add(std::string name);
|
|
|
|
private:
|
|
std::vector<std::string> tracks;
|
|
};
|
|
|
|
#endif
|