summaryrefslogtreecommitdiffstats
path: root/kdbg/envvar.h
blob: 20339b25d5ea1c0e88b0205768e61d954eae5b8a (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
/*
 * Copyright Johannes Sixt
 * This file is licensed under the GNU General Public License Version 2.
 * See the file COPYING in the toplevel directory of the source directory.
 */

#ifndef ENVVAR_H
#define ENVVAR_H

/*
 * Description of environment variables. Note that the name of the variable
 * is given as the key in the QDict, so we don't repeat it here.
 */

class QListViewItem;

struct EnvVar {
    QString value;
    enum EnvVarStatus { EVclean, EVdirty, EVnew, EVdeleted };
    EnvVarStatus status;
    QListViewItem* item;
};

#endif // ENVVAR_H