-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathremoteStreamFileChooser.hpp
79 lines (67 loc) · 2.12 KB
/
remoteStreamFileChooser.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#ifndef CPP_REMOTESTREAMFILECHOOSER_CLASS_H
#define CPP_REMOTESTREAMFILECHOOSER_CLASS_H
/*!
* \project_name EBU Player
* \file remoteStreamFileChooser.hpp
* \brief Remote stream filechooser window specifications
* \details This class is used to load the remote stream filechooser.
* \authors Marco Dos Santos Oliveira
* \version 0.1
* \date 11 march 2013
* \copyright GNU GPLv3
*
*/
#include <gtkmm.h>
#include <gdkmm.h>
#include <iostream>
#include <string>
class remoteStreamFileChooser : public Gtk::Dialog
{
public:
/*!*
* @brief Class constructor
* @brief The remoteStreamWindow class constructor instantiates the remote stream filechooser.\n\n
* @param[in] cobject : GObject is the fundamental type providing the common attributes and methods for all object types in GTK+. In this case, cobject define the instantiate gtk widget
* @param[in] refGlade : This is the reference to your glade design
*/
remoteStreamFileChooser
(
Gtk::Window& windowParent,
std::string windowTitle,
std::string messageDialog,
bool modal
);
~remoteStreamFileChooser();
/**
* @fn std::string getURL(void)
* @brief This function will return the typed URL.
* @brief
* @note needs more documentation
* @param[in] void : no params
* @return std::string if all is right or an error at compilation time.
*/
std::string getURL
(
void
);
/**
* @fn int getResponse(void)
* @brief This function will return the Gtk::ResponType of the filechooser
* @brief
* @note needs more documentation
* @param[in] void : no params
* @return int if all is right or an error at compilation time.
*/
int getResponse
(
void
);
protected:
Gtk::Box * remoteStreamBox;
Gtk::Label remoteStreamLabel;
//Gtk::Button * quitRemoteStream;/*!< quitRemoteStream This button will close the remote filechooser window */
//Gtk::Button * openRemoteStream;/*!< openRemoteStream This button will open the remote file typed */
Gtk::Entry pathToRemoteStreamEntry;/*!< pathToRemoteStreamEntry This entry will store the path to the remote stream */
int response;
};
#endif /*CPP_REMOTESTREAMFILECHOOSER_CLASS_H*/