Pepper_42_C++_interfaces
media_data_source_samsung.h
Go to the documentation of this file.
1 // Copyright (c) 2016 Samsung Electronics. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef PPAPI_CPP_SAMSUNG_MEDIA_DATA_SOURCE_SAMSUNG_H_
6 #define PPAPI_CPP_SAMSUNG_MEDIA_DATA_SOURCE_SAMSUNG_H_
7 
8 #include "ppapi/cpp/resource.h"
9 
10 /// @file
11 /// This file defines the abstract <code>MediaDataSource_Samsung<code> type,
12 /// which provide basic class for data sources able to feed
13 /// <code>MediaPlayer_Samsung</code> with media clip data.
14 ///
15 /// Part of Pepper Media Player interfaces (Samsung's extension).
16 namespace pp {
17 
18 class InstanceHandle;
19 
20 /// Abstract Media Data Source being base of data sources able to feed
21 /// <code>MediaPlayer_Samsung</code> with media clip data.
23  public:
26  virtual ~MediaDataSource_Samsung();
27 
28  protected:
30  explicit MediaDataSource_Samsung(const Resource& data_source);
31  explicit MediaDataSource_Samsung(PP_Resource resource);
33 };
34 
35 } // namespace pp
36 
37 #endif // PPAPI_CPP_SAMSUNG_MEDIA_DATA_SOURCE_SAMSUNG_H_
MediaDataSource_Samsung & operator=(const MediaDataSource_Samsung &other)
PassRef
Definition: pass_ref.h:17
A reference counted module resource.
Definition: resource.h:20