summaryrefslogtreecommitdiff
path: root/server/multicast_configuration.h
diff options
context:
space:
mode:
authordeva <deva>2006-08-16 23:49:23 +0000
committerdeva <deva>2006-08-16 23:49:23 +0000
commit347b1d8ed3a4f780f3a5c0d57a04eab05ca517a2 (patch)
treedc21975923fb440c78ee4bbffc645a138071978f /server/multicast_configuration.h
parent6c07f9219bed6ccddc9b65ad40414cf0a9f7d633 (diff)
Replaced the old MiavConfig class with the new Configuration class in all the the appropriate places.
Crippled the MulticastConfiguration class. This must be rewritten to use the new configuration interface.
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__*/