Ginga
0.13.6.1771-df200
The iTV middleware.
Main Page
Classes
Files
File List
File Members
NclMedia.h
Go to the documentation of this file.
1
/* Copyright (C) 2006-2017 PUC-Rio/Laboratorio TeleMidia
2
3
This file is part of Ginga (Ginga-NCL).
4
5
Ginga is free software: you can redistribute it and/or modify it
6
under the terms of the GNU General Public License as published by
7
the Free Software Foundation, either version 2 of the License, or
8
(at your option) any later version.
9
10
Ginga is distributed in the hope that it will be useful, but WITHOUT
11
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
13
License for more details.
14
15
You should have received a copy of the GNU General Public License
16
along with Ginga. If not, see <http://www.gnu.org/licenses/>. */
17
18
#ifndef NCL_MEDIA_H
19
#define NCL_MEDIA_H
20
21
#include "
NclNode.h
"
22
23
GINGA_NAMESPACE_BEGIN
24
25
class
NclMediaRefer
;
26
class
NclMedia
:
public
NclNode
27
{
28
public
:
29
NclMedia
(
NclDocument
*,
const
string
&,
bool
);
30
~NclMedia
();
31
32
bool
isSettings
();
33
34
void
setMimeType
(
const
string
&);
35
string
getMimeType
();
36
37
string
getSrc
();
38
void
setSrc
(
const
string
&);
39
40
void
addSameInstance
(
NclMediaRefer
*);
41
const
set<NclMediaRefer *> *
getInstSameInstances
();
42
43
private
:
44
bool
_isSettings
;
45
string
_src
;
46
string
_mimetype
;
47
set<NclMediaRefer *>
_instances
;
48
};
49
50
GINGA_NAMESPACE_END
51
52
#endif // NCL_MEDIA_H
NclMedia::getSrc
string getSrc()
Definition:
NclMedia.cpp:58
NclDocument
Definition:
NclDocument.h:25
NclMediaRefer
Definition:
NclMediaRefer.h:27
NclMedia::addSameInstance
void addSameInstance(NclMediaRefer *)
Definition:
NclMedia.cpp:92
NclMedia::_src
string _src
Definition:
NclMedia.h:45
NclMedia::_mimetype
string _mimetype
Definition:
NclMedia.h:46
GINGA_NAMESPACE_END
#define GINGA_NAMESPACE_END
Definition:
aux-ginga.h:62
NclMedia::isSettings
bool isSettings()
Definition:
NclMedia.cpp:40
NclMedia::_isSettings
bool _isSettings
Definition:
NclMedia.h:44
NclNode.h
NclMedia::getInstSameInstances
const set< NclMediaRefer * > * getInstSameInstances()
Definition:
NclMedia.cpp:99
NclMedia::getMimeType
string getMimeType()
Definition:
NclMedia.cpp:46
GINGA_NAMESPACE_BEGIN
#define GINGA_NAMESPACE_BEGIN
Definition:
aux-ginga.h:61
NclMedia::~NclMedia
~NclMedia()
Definition:
NclMedia.cpp:34
NclMedia::setMimeType
void setMimeType(const string &)
Definition:
NclMedia.cpp:52
NclMedia
Definition:
NclMedia.h:26
NclMedia::NclMedia
NclMedia(NclDocument *, const string &, bool)
Definition:
NclMedia.cpp:26
NclMedia::setSrc
void setSrc(const string &)
Definition:
NclMedia.cpp:64
NclNode
Definition:
NclNode.h:26
NclMedia::_instances
set< NclMediaRefer * > _instances
Definition:
NclMedia.h:47
lib
ncl
NclMedia.h
Generated on Thu Nov 30 2017 09:59:17 for Ginga by
1.8.11