QtGStreamer  1.2.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
objectstore_p.h
1 /*
2  Copyright (C) 2010 Collabora Multimedia.
3  @author Mauricio Piacentini <mauricio.piacentini@collabora.co.uk>
4 
5  This library is free software; you can redistribute it and/or modify
6  it under the terms of the GNU Lesser General Public License as published
7  by the Free Software Foundation; either version 2.1 of the License, or
8  (at your option) any later version.
9 
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public License
16  along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18 #ifndef QGST_OBJECTSTORE_H
19 #define QGST_OBJECTSTORE_H
20 
21 /* WARNING: This header should only be included from
22  * QtGStreamer source files and should not be installed */
23 
24 namespace QGst {
25 namespace Private {
26 
27 class ObjectStore
28 {
29 public:
30  static bool put(const void * ptr);
31  static bool take(const void * ptr);
32  static bool isEmpty();
33 };
34 
35 }
36 } //namespace QGst
37 
38 #endif