~ubuntu-branches/ubuntu/trusty/codeblocks/trusty-proposed

« back to all changes in this revision

Viewing changes to src/plugins/contrib/wxContribItems/KWIC/include/wx/xrc/xh_kwxlcdclockhandler.h

  • Committer: Package Import Robot
  • Author(s): Vincent Cheng
  • Date: 2013-05-06 00:20:02 UTC
  • mfrom: (6.1.2 experimental)
  • Revision ID: package-import@ubuntu.com-20130506002002-ngc7bwkewnak8fja
Tags: 12.11-3
* Upload to unstable.
* Update watch file, thanks to Bart Martens.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**************************************************************************//**
 
2
 * \file                xh_kwxlcdclockhandler.h
 
3
 * \author      Gary Harris
 
4
 * \date                19/4/2010.
 
5
 *
 
6
 * This file is part of wxSmithKWIC.
 
7
 *
 
8
 * wxSmithKWIC - an add-on for wxSmith, Code::Blocks' GUI editor.                                       \n
 
9
 * Copyright (C) 2010 Gary Harris.
 
10
 *
 
11
 * wxSmithKWIC is free software: you can redistribute it and/or modify
 
12
 * it under the terms of the KWIC License
 
13
 * the Free Software Foundation, either version 3 of the License, or
 
14
 * (at your option) any later version.
 
15
 *
 
16
 * This program is distributed in the hope that it will be useful,
 
17
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
18
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
19
 * KWIC License for more details.
 
20
 *
 
21
 * You should have received a copy of the KWIC License along with this
 
22
 * program.  If not, see <http://www.koansoftware.com/kwic/kwic-license.htm>.
 
23
 *
 
24
 *****************************************************************************/
 
25
#ifndef XH_KWXLCDCLOCKHANDLER_H_INCLUDED
 
26
#define XH_KWXLCDCLOCKHANDLER_H_INCLUDED
 
27
 
 
28
#include <wx/xrc/xmlres.h>
 
29
 
 
30
class kwxLCDClockHandler : public wxXmlResourceHandler
 
31
{
 
32
public:
 
33
    // Constructor.
 
34
    kwxLCDClockHandler();
 
35
 
 
36
    // Creates the control and returns a pointer to it.
 
37
    virtual wxObject *DoCreateResource();
 
38
 
 
39
    // Returns true if we know how to create a control for the given node.
 
40
    virtual bool CanHandle(wxXmlNode *node);
 
41
 
 
42
    // Register with wxWidgets' dynamic class subsystem.
 
43
    DECLARE_DYNAMIC_CLASS(kwxLCDClockHandler)
 
44
};
 
45
 
 
46
 
 
47
#endif // XH_KWXLCDCLOCKHANDLER_H_INCLUDED