Ocean
DSConfigMedium.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) Meta Platforms, Inc. and affiliates.
3  *
4  * This source code is licensed under the MIT license found in the
5  * LICENSE file in the root directory of this source tree.
6  */
7 
8 #ifndef META_OCEAN_MEDIA_DS_CONFIG_MEDIUM_H
9 #define META_OCEAN_MEDIA_DS_CONFIG_MEDIUM_H
10 
13 
15 
16 namespace Ocean
17 {
18 
19 namespace Media
20 {
21 
22 namespace DirectShow
23 {
24 
25 /**
26  * This class is the base class for all DirectShow mediums with advanced configuration possibilities.
27  * @ingroup mediads
28  */
29 class OCEAN_MEDIA_DS_EXPORT DSConfigMedium :
30  public virtual DSMedium,
31  public virtual ConfigMedium
32 {
33  protected:
34 
35  /**
36  * Creates a new DSConfigMedium object by a given url.
37  * @param url Url of medium
38  */
39  explicit DSConfigMedium(const std::string& url);
40 
41  /**
42  * Shows a property dialog or checks whether the dialog exists.
43  * @param object DirectShow filter or interface holding the property dialog
44  * @param owner Windows handle of the dialog owner
45  * @param checkOnly Determines whether the availability check is enough.
46  * @return True, if succeeded
47  */
48  static bool showPropertyDialog(IUnknown* object, HWND owner, bool checkOnly);
49 };
50 
51 }
52 
53 }
54 
55 }
56 
57 #endif // META_OCEAN_MEDIA_DS_CONFIG_MEDIUM_H
This class is the base class for all mediums with advanced configuration possibilities.
Definition: ConfigMedium.h:38
This class is the base class for all DirectShow mediums with advanced configuration possibilities.
Definition: DSConfigMedium.h:32
DSConfigMedium(const std::string &url)
Creates a new DSConfigMedium object by a given url.
static bool showPropertyDialog(IUnknown *object, HWND owner, bool checkOnly)
Shows a property dialog or checks whether the dialog exists.
This is the base class for all direct show mediums.
Definition: DSMedium.h:36
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15