~ubuntu-branches/ubuntu/lucid/codelite/lucid

« back to all changes in this revision

Viewing changes to LiteEditor/importfilessettings.h

  • Committer: Bazaar Package Importer
  • Author(s): Chow Loong Jin
  • Date: 2009-01-12 15:46:55 UTC
  • Revision ID: james.westby@ubuntu.com-20090112154655-sdynrljcb6u167yw
Tags: upstream-1.0.2674+dfsg
ImportĀ upstreamĀ versionĀ 1.0.2674+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//////////////////////////////////////////////////////////////////////////////
 
2
//////////////////////////////////////////////////////////////////////////////
 
3
//
 
4
// copyright            : (C) 2008 by Eran Ifrah
 
5
// file name            : importfilessettings.h
 
6
//
 
7
// -------------------------------------------------------------------------
 
8
// A
 
9
//              _____           _      _     _ _
 
10
//             /  __ \         | |    | |   (_) |
 
11
//             | /  \/ ___   __| | ___| |    _| |_ ___
 
12
//             | |    / _ \ / _  |/ _ \ |   | | __/ _ )
 
13
//             | \__/\ (_) | (_| |  __/ |___| | ||  __/
 
14
//              \____/\___/ \__,_|\___\_____/_|\__\___|
 
15
//
 
16
//                                                  F i l e
 
17
//
 
18
//    This program is free software; you can redistribute it and/or modify
 
19
//    it under the terms of the GNU General Public License as published by
 
20
//    the Free Software Foundation; either version 2 of the License, or
 
21
//    (at your option) any later version.
 
22
//
 
23
//////////////////////////////////////////////////////////////////////////////
 
24
//////////////////////////////////////////////////////////////////////////////
 
25
#ifndef __importfilessettings__
 
26
#define __importfilessettings__
 
27
#include "serialized_object.h"
 
28
 
 
29
 
 
30
enum {
 
31
        IFS_INCLUDE_FILES_WO_EXT        = 0x00000001
 
32
};
 
33
 
 
34
class ImportFilesSettings : public SerializedObject
 
35
{
 
36
        wxString m_fileMask;
 
37
        size_t m_flags;
 
38
 
 
39
public:
 
40
        ImportFilesSettings();
 
41
        virtual ~ImportFilesSettings();
 
42
 
 
43
        virtual void DeSerialize(Archive &arch);
 
44
        virtual void Serialize(Archive &arch);
 
45
 
 
46
        //Setters
 
47
        void SetFileMask(const wxString& fileMask) {
 
48
                this->m_fileMask = fileMask;
 
49
        }
 
50
        void SetFlags(const size_t& flags) {
 
51
                this->m_flags = flags;
 
52
        }
 
53
        //Getters
 
54
        const wxString& GetFileMask() const {
 
55
                return m_fileMask;
 
56
        }
 
57
        const size_t& GetFlags() const {
 
58
                return m_flags;
 
59
        }
 
60
 
 
61
};
 
62
#endif // __importfilessettings__