summaryrefslogtreecommitdiff
path: root/BCT/TranslationPlugins/PhoneControlsPlugin.cs
diff options
context:
space:
mode:
Diffstat (limited to 'BCT/TranslationPlugins/PhoneControlsPlugin.cs')
-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();
}