~ubuntu-branches/ubuntu/saucy/libwpd/saucy-proposed

« back to all changes in this revision

Viewing changes to src/lib/WP6CommentAnnotationPacket.h

  • Committer: Package Import Robot
  • Author(s): Rene Engelhard
  • Date: 2011-11-29 23:31:13 UTC
  • mfrom: (1.2.5)
  • Revision ID: package-import@ubuntu.com-20111129233113-xdtwca9h0y6wdxst
Tags: 0.9.4-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
1
2
/* libwpd
2
3
 * Copyright (C) 2007 Fridrich Strba (fridrich.strba@bluewin.ch)
3
 
 *  
 
4
 *
4
5
 * This library is free software; you can redistribute it and/or
5
6
 * modify it under the terms of the GNU Library General Public
6
7
 * License as published by the Free Software Foundation; either
18
19
 * For further information visit http://libwpd.sourceforge.net
19
20
 */
20
21
 
21
 
/* "This product is not manufactured, approved, or supported by 
 
22
/* "This product is not manufactured, approved, or supported by
22
23
 * Corel Corporation or Corel Corporation Limited."
23
24
 */
24
25
 
35
36
        ~WP6CommentAnnotationPacket();
36
37
        void _readContents(WPXInputStream *input, WPXEncryption *encryption);
37
38
        void parse(WP6Listener * /*listener*/) const {}
38
 
        uint8_t getAnnotationFlag() const { return m_flags; }
39
 
        uint16_t getTextPID() const { return m_textPID; }
 
39
        uint8_t getAnnotationFlag() const
 
40
        {
 
41
                return m_flags;
 
42
        }
 
43
        uint16_t getTextPID() const
 
44
        {
 
45
                return m_textPID;
 
46
        }
40
47
 
41
48
private:
42
 
        WP6CommentAnnotationPacket(const WP6CommentAnnotationPacket&);             
43
 
        WP6CommentAnnotationPacket& operator=(const WP6CommentAnnotationPacket&);
 
49
        WP6CommentAnnotationPacket(const WP6CommentAnnotationPacket &);
 
50
        WP6CommentAnnotationPacket &operator=(const WP6CommentAnnotationPacket &);
44
51
        uint16_t m_textPID;
45
52
        uint8_t m_flags;
46
53
};
47
54
#endif /* WP6COMMENTANNOTATIONPACKET_H */
 
55
/* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */