summaryrefslogtreecommitdiff
path: root/server/multicast_configuration.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/multicast_configuration.h')
-rw-r--r--server/multicast_configuration.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/server/multicast_configuration.h b/server/multicast_configuration.h
index 9ff320a..a7aa884 100644
--- a/server/multicast_configuration.h
+++ b/server/multicast_configuration.h
@@ -24,11 +24,10 @@
* along with MIaV; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
-#include "config.h"
#ifndef __MIAV_MULTICAST_CONFIGURATION_H__
#define __MIAV_MULTICAST_CONFIGURATION_H__
-#include "miav_config.h"
+//#include "miav_config.h"
#include <vector>
#include <string>
@@ -41,16 +40,22 @@ typedef struct {
bool with_audio;
} mcastconf_t;
-class MulticastConfiguration : private MiavConfig {
+class MulticastConfiguration {
public:
- MulticastConfiguration(char *file);
- ~MulticastConfiguration();
+ MulticastConfiguration(char *file){}
+ ~MulticastConfiguration(){}
- mcastconf_t &getConf(char *client);
+ mcastconf_t &getConf(char *client){
+ a.client = "192.168.0.10";
+ return a;
+ }
private:
+ mcastconf_t a;//hack
+
std::vector<mcastconf_t> confs;
mcastconf_t global_conf;
};
+
#endif/*__MIAV_MULTICAST_CONFIGURATION_H__*/