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

« back to all changes in this revision

Viewing changes to CodeLite/cl_indexer_reply.h

  • Committer: Bazaar Package Importer
  • Author(s): Chow Loong Jin
  • Date: 2009-02-10 02:27:55 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090210022755-m5692nfc1t5uf1w9
Tags: 1.0.2759+dfsg-0ubuntu1
* New upstream release (LP: #327216).
* debian/patches/series, debian/patches/00_fix-ia64-build.patch:
  + Dropped, applied upstream already.
* debian/patches/02_fix-desktop.patch,
  debian/patches/03_fix-sh.patch:
  + Refreshed to patch cleanly.
* debian/rules:
  + Make get-orig-source honour UPSTREAM_VERSION if set.
* debian/ctags-le.1,
  debian/codelite_indexer.1,
  debian/codelite.manpages:
  + Dropped ctags-le manpage, since ctags-le was replaced by
    codelite_indexer.
  + Added codelite_indexer manpage.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __clindexerreply__
 
2
#define __clindexerreply__
 
3
#include <string>
 
4
 
 
5
class clIndexerReply
 
6
{
 
7
        size_t m_completionCode;
 
8
        std::string m_fileName;
 
9
        std::string m_tags;
 
10
 
 
11
public:
 
12
        clIndexerReply();
 
13
        ~clIndexerReply();
 
14
 
 
15
        void fromBinary(char *data);
 
16
        char *toBinary(size_t &buffer_size);
 
17
 
 
18
        void setCompletionCode(const size_t& completionCode) {
 
19
                this->m_completionCode = completionCode;
 
20
        }
 
21
        void setFileName(const std::string& fileName) {
 
22
                this->m_fileName = fileName;
 
23
        }
 
24
        void setTags(const std::string& tags) {
 
25
                this->m_tags = tags;
 
26
        }
 
27
        const size_t& getCompletionCode() const {
 
28
                return m_completionCode;
 
29
        }
 
30
        const std::string& getFileName() const {
 
31
                return m_fileName;
 
32
        }
 
33
        const std::string& getTags() const {
 
34
                return m_tags;
 
35
        }
 
36
};
 
37
#endif // __clindexerreply__