-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBaseMultimediaBox.h
More file actions
42 lines (26 loc) · 819 Bytes
/
BaseMultimediaBox.h
File metadata and controls
42 lines (26 loc) · 819 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#ifndef BASEMULTIMEDIABOX_H
#define BASEMULTIMEDIABOX_H
#include <string>
#include <iostream>
#include <ostream>
#include <memory>
class BaseMultimediaBox
{
private :
std::string name;
std::string pathname;
public:
BaseMultimediaBox();
BaseMultimediaBox(std::string name, std::string pathname);
virtual ~BaseMultimediaBox();
std::string getName() const;
std::string getPathName() const;
void setName(std::string new_name);
void setPathName(std::string new_pathname);
virtual void display(std::ostream& stream) const;
virtual void play() const = 0;
};
typedef std::shared_ptr<BaseMultimediaBox> shared_Multimedia_ptr;
typedef std::unique_ptr<BaseMultimediaBox> unique_Multimedia_ptr;
typedef shared_Multimedia_ptr Multimedia_ptr;
#endif // BASEMULTIMEDIABOX_H