GPU-Calc: remove Alloc_Host_Ptr for clmem of NAN vector
[LibreOffice.git] / avmedia / source / vlc / wrapper / Media.hxx
blob0cdadf0d33c9f2a69056157bf215f8d4acc1258a
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #ifndef _WRAPPER_MEDIA_HXX
11 #define _WRAPPER_MEDIA_HXX
13 struct libvlc_media_t;
15 namespace rtl { class OUString; }
17 namespace avmedia
19 namespace vlc
21 namespace wrapper
23 class Instance;
24 class Media
26 public:
27 static bool LoadSymbols();
28 Media( const rtl::OUString& url, Instance& instance );
29 Media( const Media& other );
30 Media& operator=( const Media& other );
32 int getDuration() const;
34 virtual ~Media();
36 inline operator libvlc_media_t*()
38 return mMedia;
41 private:
42 libvlc_media_t *mMedia;
48 #endif
49 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */