/[cits3200i]/branches/metadata-branch-rvvs89/UWAPlugins/MetadataPlugin/Plugin.cs


UCC Code Repository

Contents of /branches/metadata-branch-rvvs89/UWAPlugins/MetadataPlugin/Plugin.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 74 - (show annotations) (download)
Thu Sep 30 05:55:59 2010 UTC (11 years, 2 months ago) by rvvs89
File size: 963 byte(s)
The current code base appears to be mostly stubs from automatically generated code, some of which we shouldn't be extending (when the class is already provided by SportTracks).
The previous revision has an infinite recursion in one of the IExtend interfaces that causes SportTracks to fail to start.
I'm deleting everything and starting again.
Added a RouteControlPointerMode for attaching data and supporting classes.
Added an icon for the pointer mode.
Fixed namespace issues in Plugin.cs, can't really be bothered checking svn blame to see where they snuck in.
1 using System;
2 using System.Collections.Generic;
3 using System.Text;
4 using System.Xml;
5 using ZoneFiveSoftware.Common.Visuals.Fitness;
6
7 namespace MetadataPlugin
8 {
9 class Plugin : IPlugin
10 {
11 private IApplication application;
12
13 public IApplication Application
14 {
15 set { application = value; }
16 }
17
18 public Guid Id
19 {
20 get { return new Guid("35ad2d05-472d-434c-b676-527f141aa3bb"); }
21 }
22
23 public string Name
24 {
25 get { return "Metadata Attachment Plugin"; }
26 }
27
28 public string Version
29 {
30 get { return GetType().Assembly.GetName().Version.ToString(3); }
31 }
32
33 public void ReadOptions(XmlDocument xmlDoc, XmlNamespaceManager nsmgr, XmlElement pluginNode)
34 {
35 }
36
37 public void WriteOptions(XmlDocument xmlDoc, XmlElement pluginNode)
38 {
39 }
40 }
41 }

Managed by UCC Webmasters ViewVC Help
Powered by ViewVC 1.1.26