summaryrefslogtreecommitdiffstats
path: root/kbugbuster/backend/person.h
blob: 9d4a84a5e75923a3989f210367cbf38a65cd87ea (plain)
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
#ifndef __person_h__
#define __person_h__

#include <tqstring.h>
#include <tdelocale.h>

struct Person
{
    Person() {}
    Person( const TQString &fullName );
    Person( const TQString &_name, const TQString &_email )
        : name( _name ), email( _email ) {}

    TQString name;
    TQString email;

    TQString fullName( bool html = false ) const;

    static Person parseFromString( const TQString &str );
};

#endif

/*
 * vim:sw=4:ts=4:et
 */