00001 /* 00002 Copyright (C) 2010 Collabora Multimedia. 00003 @author Mauricio Piacentini <mauricio.piacentini@collabora.co.uk> 00004 00005 This library is free software; you can redistribute it and/or modify 00006 it under the terms of the GNU Lesser General Public License as published 00007 by the Free Software Foundation; either version 2.1 of the License, or 00008 (at your option) any later version. 00009 00010 This program is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 GNU Lesser General Public License for more details. 00014 00015 You should have received a copy of the GNU Lesser General Public License 00016 along with this program. If not, see <http://www.gnu.org/licenses/>. 00017 */ 00018 #ifndef QGST_OBJECTSTORE_H 00019 #define QGST_OBJECTSTORE_H 00020 00021 /* WARNING: This header should only be included from 00022 * QtGStreamer source files and should not be installed */ 00023 00024 namespace QGst { 00025 namespace Private { 00026 00027 class ObjectStore 00028 { 00029 public: 00030 static bool put(const void * ptr); 00031 static bool take(const void * ptr); 00032 static bool isEmpty(); 00033 }; 00034 00035 } 00036 } //namespace QGst 00037 00038 #endif