summaryrefslogtreecommitdiff
path: root/BCT/TranslationPlugins
diff options
context:
space:
mode:
authorGravatar Unknown <t-espave@A3479886.redmond.corp.microsoft.com>2011-07-08 16:29:38 -0700
committerGravatar Unknown <t-espave@A3479886.redmond.corp.microsoft.com>2011-07-08 16:29:38 -0700
commitd5bf8e1275ae1cc79ddb7048d2015160bdf2bddc (patch)
tree570bf46f4813ae893c2378c8e7a190fd74b6d419 /BCT/TranslationPlugins
parent8ff2b0f8bebfcb55cb29ba70813bc644e8f6ad0c (diff)
phone injecting code traverser
Diffstat (limited to 'BCT/TranslationPlugins')
-rw-r--r--BCT/TranslationPlugins/PhoneControlsPlugin.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/BCT/TranslationPlugins/PhoneControlsPlugin.cs b/BCT/TranslationPlugins/PhoneControlsPlugin.cs
index d63b6489..9ed1c7df 100644
--- a/BCT/TranslationPlugins/PhoneControlsPlugin.cs
+++ b/BCT/TranslationPlugins/PhoneControlsPlugin.cs
@@ -98,6 +98,11 @@ namespace TranslationPlugins {
private IDictionary<string, PageStructure> pageStructureInfo;
+ public static string getFullyQualifiedControlClass(string controlClass) {
+ // TODO do an actual API discovery. The problem will be differencing 7.0 apps from 7.1 apps
+ return "System.Windows.Controls." + controlClass;
+ }
+
public PhoneControlsPlugin(string configFile) {
pageStructureInfo = new Dictionary<string, PageStructure>();
StreamReader fileStream = null;
@@ -172,6 +177,7 @@ namespace TranslationPlugins {
controlInfoStr.setHandler(Event.Unchecked, uncheckedHandler);
pageStr.setControlInfo(controlName, controlInfoStr);
+ pageStructureInfo[pageClass] = pageStr;
configLine = configStream.ReadLine();
}