~ubuntu-branches/ubuntu/karmic/moon/karmic

« back to all changes in this revision

Viewing changes to src/usercontrol.h

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2009-02-14 12:01:08 UTC
  • Revision ID: james.westby@ubuntu.com-20090214120108-06539vb25vhbd8bn
Tags: upstream-1.0
ImportĀ upstreamĀ versionĀ 1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
2
/*
 
3
 * usercontrol.h:
 
4
 *
 
5
 * Copyright 2007 Novell, Inc. (http://www.novell.com)
 
6
 *
 
7
 * See the LICENSE file included with the distribution for details.
 
8
 * 
 
9
 */
 
10
 
 
11
#ifndef __MOON_USERCONTROL_H__
 
12
#define __MOON_USERCONTROL_H__
 
13
 
 
14
#include <glib.h>
 
15
 
 
16
G_BEGIN_DECLS
 
17
 
 
18
#include "control.h"
 
19
 
 
20
//
 
21
// UserControl
 
22
//
 
23
/* @SilverlightVersion="2" */
 
24
/* @ContentProperty="Content" */
 
25
/* @Namespace=System.Windows.Controls */
 
26
class UserControl : public Control {
 
27
protected:
 
28
        virtual ~UserControl ();
 
29
        
 
30
public:
 
31
        /* @PropertyType=UIElement,ManagedAccess=Protected */
 
32
        static DependencyProperty *ContentProperty;
 
33
        
 
34
        /* @GenerateCBinding,GeneratePInvoke */
 
35
        UserControl ();
 
36
        
 
37
        virtual Type::Kind GetObjectType () { return Type::USERCONTROL; }
 
38
        
 
39
        virtual void OnPropertyChanged (PropertyChangedEventArgs *args);
 
40
};
 
41
 
 
42
UIElement *user_control_get_content (UserControl *user_control);
 
43
 
 
44
G_END_DECLS
 
45
 
 
46
#endif /* __MOON_USERCONTROL_H__ */