~ubuntu-branches/ubuntu/quantal/libircclient/quantal

« back to all changes in this revision

Viewing changes to examples/ircmud/config.h

  • Committer: Bazaar Package Importer
  • Author(s): Bradley Smith
  • Date: 2009-01-05 22:46:15 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090105224615-j4djww5j1gkoy9y8
Tags: 1.3+dfsg1-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * $Id: config.h 17 2004-09-14 18:24:51Z gyunaev $
3
 
 */
4
 
 
5
 
#ifndef INCLUDE_CONFIG_H
6
 
#define INCLUDE_CONFIG_H
7
 
 
8
 
 
9
 
class CConfig
10
 
{
11
 
        public:
12
 
                std::string             irc_server;
13
 
                std::string             irc_nick;
14
 
                std::string             irc_nickserv_pass;
15
 
                std::string             irc_join_channel;
16
 
                std::string             join_channel;
17
 
 
18
 
                std::string             mud_server;
19
 
 
20
 
                std::string             log_path;
21
 
                unsigned int    log_level;
22
 
 
23
 
                // Run-time values
24
 
                sockaddr_in             mud_serv_in;
25
 
 
26
 
        public:
27
 
                CConfig();
28
 
                void    Load (const char * path) throw (std::string);
29
 
};
30
 
 
31
 
 
32
 
#endif /* INCLUDE_CONFIG_H */