|
From: <fr...@us...> - 2007-08-09 06:14:59
|
Revision: 815
http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=815&view=rev
Author: framug
Date: 2007-08-08 23:14:56 -0700 (Wed, 08 Aug 2007)
Log Message:
-----------
Missing Skin folder
Added Paths:
-----------
trunk/plugins/MyClickmania/Skin/
trunk/plugins/MyClickmania/Skin/BlueTwo/
trunk/plugins/MyClickmania/Skin/BlueTwo/Media/
trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/
trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/background.png
trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_blue.png
trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_blue_glow.png
trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_cyan.png
trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_cyan_glow.png
trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_gray.png
trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_gray_glow.png
trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_green.png
trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_green_glow.png
trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_orange.png
trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_orange_glow.png
trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_red.png
trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_red_glow.png
trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_yellow.png
trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_yellow_glow.png
trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/cursor0.PNG
trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/cursor1.png
trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/cursor2.PNG
trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/cursor3.PNG
trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/cursor4.PNG
trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/cursor5.PNG
trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/cursor6.PNG
trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/cursor7.PNG
trunk/plugins/MyClickmania/Skin/BlueTwo/Sounds/
trunk/plugins/MyClickmania/Skin/BlueTwo/Sounds/ClickMania.Block.wav
trunk/plugins/MyClickmania/Skin/BlueTwo/Sounds/ClickMania.GameOver.wav
trunk/plugins/MyClickmania/Skin/BlueTwo/Sounds/ClickMania.MoveLeft.wav
trunk/plugins/MyClickmania/Skin/BlueTwo/Sounds/ClickMania.Won.wav
trunk/plugins/MyClickmania/Skin/BlueTwo/myClickMania.xml
Added: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/background.png
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/background.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_blue.png
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_blue.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_blue_glow.png
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_blue_glow.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_cyan.png
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_cyan.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_cyan_glow.png
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_cyan_glow.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_gray.png
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_gray.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_gray_glow.png
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_gray_glow.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_green.png
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_green.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_green_glow.png
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_green_glow.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_orange.png
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_orange.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_orange_glow.png
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_orange_glow.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_red.png
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_red.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_red_glow.png
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_red_glow.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_yellow.png
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_yellow.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_yellow_glow.png
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/block_yellow_glow.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/cursor0.PNG
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/cursor0.PNG
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/cursor1.png
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/cursor1.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/cursor2.PNG
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/cursor2.PNG
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/cursor3.PNG
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/cursor3.PNG
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/cursor4.PNG
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/cursor4.PNG
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/cursor5.PNG
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/cursor5.PNG
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/cursor6.PNG
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/cursor6.PNG
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/cursor7.PNG
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/MyClickmania/Skin/BlueTwo/Media/ClickMania/cursor7.PNG
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/MyClickmania/Skin/BlueTwo/Sounds/ClickMania.Block.wav
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/MyClickmania/Skin/BlueTwo/Sounds/ClickMania.Block.wav
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/MyClickmania/Skin/BlueTwo/Sounds/ClickMania.GameOver.wav
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/MyClickmania/Skin/BlueTwo/Sounds/ClickMania.GameOver.wav
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/MyClickmania/Skin/BlueTwo/Sounds/ClickMania.MoveLeft.wav
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/MyClickmania/Skin/BlueTwo/Sounds/ClickMania.MoveLeft.wav
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/MyClickmania/Skin/BlueTwo/Sounds/ClickMania.Won.wav
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/MyClickmania/Skin/BlueTwo/Sounds/ClickMania.Won.wav
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/MyClickmania/Skin/BlueTwo/myClickMania.xml
===================================================================
--- trunk/plugins/MyClickmania/Skin/BlueTwo/myClickMania.xml (rev 0)
+++ trunk/plugins/MyClickmania/Skin/BlueTwo/myClickMania.xml 2007-08-09 06:14:56 UTC (rev 815)
@@ -0,0 +1,203 @@
+<window>
+ <id>19000</id>
+ <defaultcontrol>10</defaultcontrol>
+ <allowoverlay>no</allowoverlay>
+ <controls>
+ <control>
+ <type>image</type>
+ <id>1</id>
+ <posX>0</posX>
+ <posY>0</posY>
+ <texture>background.png</texture>
+ </control>
+ <control>
+ <type>label</type>
+ <description>Score</description>
+ <id>31</id>
+ <posX>56</posX>
+ <posY>50</posY>
+ <label>#cm_title</label>
+ <font>font18</font>
+ <textcolor>20ffffff</textcolor>
+ </control>
+ <control>
+ <type>group</type>
+ <description>groupelement</description>
+ <layout>StackLayout</layout>
+ <animation effect="slide" time="400" start="-300,0">WindowOpen</animation>
+ <animation effect="slide" time="400" end="0,-300" >WindowClose</animation>
+ <animation effect="fade" time="500">WindowClose</animation>
+ <animation effect="fade" time="250">WindowOpen</animation>
+ <posX>56</posX>
+ <posY>88</posY>
+ <control>
+ <description>New Game</description>
+ <type>button</type>
+ <label>19002</label>
+ <id>2</id>
+ <onleft>10</onleft>
+ <onright>10</onright>
+ <onup>6</onup>
+ <ondown>8</ondown>
+ </control>
+ <control>
+ <type>button</type>
+ <description>Take back last move</description>
+ <id>8</id>
+ <onleft>10</onleft>
+ <onright>10</onright>
+ <onup>2</onup>
+ <ondown>4</ondown>
+ <label>Take back</label>
+ </control>
+ <control>
+ <type>togglebutton</type>
+ <description>Sounds</description>
+ <id>4</id>
+ <onleft>10</onleft>
+ <onright>10</onright>
+ <onup>8</onup>
+ <ondown>6</ondown>
+ <label>19004</label>
+ <height>32</height>
+ <textureFocus>togglebutton-on-focus.png</textureFocus>
+ <textureNoFocus>togglebutton-on-nofocus.png</textureNoFocus>
+ <AltTextureFocus>togglebutton-off-focus.png</AltTextureFocus>
+ <AltTextureNoFocus>togglebutton-off-nofocus.png</AltTextureNoFocus>
+ </control>
+ <control>
+ <type>togglebutton</type>
+ <description>Keyboard</description>
+ <id>6</id>
+ <onleft>10</onleft>
+ <onright>10</onright>
+ <onup>4</onup>
+ <ondown>2</ondown>
+ <label>101000</label>
+ <height>32</height>
+ <textureFocus>togglebutton-on-focus.png</textureFocus>
+ <textureNoFocus>togglebutton-on-nofocus.png</textureNoFocus>
+ <AltTextureFocus>togglebutton-off-focus.png</AltTextureFocus>
+ <AltTextureNoFocus>togglebutton-off-nofocus.png</AltTextureNoFocus>
+ </control>
+ </control>
+ <control>
+ <type>group</type>
+ <posX>40</posX>
+ <posY>376</posY>
+ <width>200</width>
+ <height>160</height>
+ <control>
+ <type>image</type>
+ <description>-</description>
+ <id>1</id>
+ <posX>40</posX>
+ <posY>376</posY>
+ <width>200</width>
+ <height>160</height>
+ <texture>background_glass_menu_area.png</texture>
+ </control>
+ <control>
+ <type>label</type>
+ <description>Score: label</description>
+ <id>201</id>
+ <posX>64</posX>
+ <posY>448</posY>
+ <label>19005</label>
+ <font>font14</font>
+ </control>
+ <control>
+ <type>label</type>
+ <description>Score</description>
+ <id>202</id>
+ <posX>206</posX>
+ <posY>448</posY>
+ <label>#cm_score</label>
+ <font>font14</font>
+ <align>right</align>
+ </control>
+ <control>
+ <type>label</type>
+ <description>Highscore: label</description>
+ <id>203</id>
+ <posX>64</posX>
+ <posY>496</posY>
+ <label>19008</label>
+ <font>font14</font>
+ </control>
+ <control>
+ <type>label</type>
+ <description>Highscore</description>
+ <id>204</id>
+ <posX>206</posX>
+ <posY>496</posY>
+ <label>#cm_highscore</label>
+ <font>font14</font>
+ <align>right</align>
+ </control>
+ <control>
+ <type>label</type>
+ <description>Time: label</description>
+ <id>25</id>
+ <posX>56</posX>
+ <posY>384</posY>
+ <label>#cm_time</label>
+ <font>font32</font>
+ <textcolor>60ffffff</textcolor>
+ </control>
+ </control>
+ <control>
+ <type>group</type>
+ <description>group element</description>
+ <id>0</id>
+ <posX>288</posX>
+ <posY>80</posY>
+ <width>401</width>
+ <height>464</height>
+ <animation effect="slide" time="400" start="-300,0">WindowOpen</animation>
+ <animation effect="slide" time="400" end="0,-300" >WindowClose</animation>
+ <animation effect="fade" time="500">WindowClose</animation>
+ <animation effect="fade" time="250">WindowOpen</animation>
+ <mpe>
+ <layout>Grid</layout>
+ <spring>no</spring>
+ <spacing>0</spacing>
+ <padding>
+ <top>0</top>
+ <right>0</right>
+ <bottom>0</bottom>
+ <left>0</left>
+ </padding>
+ </mpe>
+ <control>
+ <type>clickmania</type>
+ <description>ClickMania control</description>
+ <id>10</id>
+ <posX>292</posX>
+ <posY>88</posY>
+ <width>395</width>
+ <height>448</height>
+ <colordiffuse>60ffffff</colordiffuse>
+ <onleft>2</onleft>
+ <onright>2</onright>
+ <onup>2</onup>
+ <ondown>2</ondown>
+ <nextblocky>368</nextblocky>
+ <texturefocus>clickmania\background_focus.png</texturefocus>
+ <texture>clickmania\background.png</texture>
+ <font>font16</font>
+ <textcolor>ffffffff</textcolor>
+ <onback>2</onback>
+ </control>
+ </control>
+ <control>
+ <type>label</type>
+ <description>Score</description>
+ <id>28</id>
+ <posX>424</posX>
+ <posY>288</posY>
+ <label>#cm_status</label>
+ <font>font18</font>
+ </control>
+ </controls>
+</window>
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fr...@us...> - 2007-08-09 06:29:10
|
Revision: 816
http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=816&view=rev
Author: framug
Date: 2007-08-08 23:29:07 -0700 (Wed, 08 Aug 2007)
Log Message:
-----------
Plugin has his own xml config file now.
Advantages : Decrease MediaPortal.xml size
Ability to save config when another MP
version will be installed.
Modified Paths:
--------------
trunk/plugins/MyClickmania/ClickManiaControl.cs
trunk/plugins/MyClickmania/ClickManiaSetup.cs
trunk/plugins/MyClickmania/myClickMania.cs
Modified: trunk/plugins/MyClickmania/ClickManiaControl.cs
===================================================================
--- trunk/plugins/MyClickmania/ClickManiaControl.cs 2007-08-09 06:14:56 UTC (rev 815)
+++ trunk/plugins/MyClickmania/ClickManiaControl.cs 2007-08-09 06:29:07 UTC (rev 816)
@@ -142,7 +142,7 @@
public void Load()
{
- using (MediaPortal.Profile.Settings xmlreader = new MediaPortal.Profile.Settings("MediaPortal.xml"))
+ using (MediaPortal.Profile.Settings xmlreader = new MediaPortal.Profile.Settings("MyClickMania.xml"))
{
m_nHighscore = xmlreader.GetValueAsInt("clickmania", "highscore", 0);
m_bKeyInterface = xmlreader.GetValueAsBool("clickmania", "keyinterface", false);
@@ -152,7 +152,7 @@
public void Save()
{
- using (MediaPortal.Profile.Settings xmlwriter = new MediaPortal.Profile.Settings("MediaPortal.xml"))
+ using (MediaPortal.Profile.Settings xmlwriter = new MediaPortal.Profile.Settings("MyClickMania.xml"))
{
xmlwriter.SetValue("clickmania", "highscore", m_nHighscore);
xmlwriter.SetValueAsBool("clickmania", "keyinterface", m_bKeyInterface);
Modified: trunk/plugins/MyClickmania/ClickManiaSetup.cs
===================================================================
--- trunk/plugins/MyClickmania/ClickManiaSetup.cs 2007-08-09 06:14:56 UTC (rev 815)
+++ trunk/plugins/MyClickmania/ClickManiaSetup.cs 2007-08-09 06:29:07 UTC (rev 816)
@@ -15,7 +15,7 @@
private void ClickManiaSetup_Load(object sender, EventArgs e)
{
- using (MediaPortal.Profile.Settings xmlreader = new MediaPortal.Profile.Settings("MediaPortal.xml"))
+ using (MediaPortal.Profile.Settings xmlreader = new MediaPortal.Profile.Settings("MyClickMania.xml"))
{
textBox1.Text = xmlreader.GetValueAsString("clickmania", "pluginName", PluginName());
textBox2.Text = xmlreader.GetValueAsString("clickmania", "Title", "Click Mania");
@@ -35,7 +35,7 @@
textBox2.Focus();
return;
}
- using (MediaPortal.Profile.Settings xmlwriter = new MediaPortal.Profile.Settings("MediaPortal.xml"))
+ using (MediaPortal.Profile.Settings xmlwriter = new MediaPortal.Profile.Settings("MyClickMania.xml"))
{
xmlwriter.SetValue("clickmania", "pluginName", textBox1.Text.ToString());
xmlwriter.SetValue("clickmania", "Title", textBox2.Text.ToString());
Modified: trunk/plugins/MyClickmania/myClickMania.cs
===================================================================
--- trunk/plugins/MyClickmania/myClickMania.cs 2007-08-09 06:14:56 UTC (rev 815)
+++ trunk/plugins/MyClickmania/myClickMania.cs 2007-08-09 06:29:07 UTC (rev 816)
@@ -86,7 +86,7 @@
{
string wPluginName = PluginName();
- using (MediaPortal.Profile.Settings xmlreader = new MediaPortal.Profile.Settings("MediaPortal.xml"))
+ using (MediaPortal.Profile.Settings xmlreader = new MediaPortal.Profile.Settings("MyClickMania.xml"))
{
wPluginName = xmlreader.GetValueAsString("clickmania", "pluginName", wPluginName);
StrTitle = xmlreader.GetValueAsString("clickmania", "Title", "Click Mania");
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fr...@us...> - 2008-04-27 06:46:34
|
Revision: 1729
http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=1729&view=rev
Author: framug
Date: 2008-04-26 23:46:29 -0700 (Sat, 26 Apr 2008)
Log Message:
-----------
- MyClicmania.xml is loaded/written in correct folder.
- local copy reference dll = false
Modified Paths:
--------------
trunk/plugins/MyClickmania/ClickManiaControl.cs
trunk/plugins/MyClickmania/ClickManiaSetup.cs
trunk/plugins/MyClickmania/GUIClickMania.csproj
trunk/plugins/MyClickmania/myClickMania.cs
Modified: trunk/plugins/MyClickmania/ClickManiaControl.cs
===================================================================
--- trunk/plugins/MyClickmania/ClickManiaControl.cs 2008-04-27 02:04:58 UTC (rev 1728)
+++ trunk/plugins/MyClickmania/ClickManiaControl.cs 2008-04-27 06:46:29 UTC (rev 1729)
@@ -11,6 +11,7 @@
using Microsoft.DirectX;
using Microsoft.DirectX.Direct3D;
using Direct3D=Microsoft.DirectX.Direct3D;
+using MediaPortal.Configuration;
@@ -142,7 +143,7 @@
public void Load()
{
- using (MediaPortal.Profile.Settings xmlreader = new MediaPortal.Profile.Settings("MyClickMania.xml"))
+ using (MediaPortal.Profile.Settings xmlreader = new MediaPortal.Profile.Settings(Config.GetFile(Config.Dir.Config, "MyClickMania.xml")))
{
m_nHighscore = xmlreader.GetValueAsInt("clickmania", "highscore", 0);
m_bKeyInterface = xmlreader.GetValueAsBool("clickmania", "keyinterface", false);
@@ -152,7 +153,7 @@
public void Save()
{
- using (MediaPortal.Profile.Settings xmlwriter = new MediaPortal.Profile.Settings("MyClickMania.xml"))
+ using (MediaPortal.Profile.Settings xmlwriter = new MediaPortal.Profile.Settings(Config.GetFile(Config.Dir.Config, "MyClickMania.xml")))
{
xmlwriter.SetValue("clickmania", "highscore", m_nHighscore);
xmlwriter.SetValueAsBool("clickmania", "keyinterface", m_bKeyInterface);
Modified: trunk/plugins/MyClickmania/ClickManiaSetup.cs
===================================================================
--- trunk/plugins/MyClickmania/ClickManiaSetup.cs 2008-04-27 02:04:58 UTC (rev 1728)
+++ trunk/plugins/MyClickmania/ClickManiaSetup.cs 2008-04-27 06:46:29 UTC (rev 1729)
@@ -3,6 +3,7 @@
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
+using MediaPortal.Configuration;
namespace MyClickMania
{
@@ -15,7 +16,7 @@
private void ClickManiaSetup_Load(object sender, EventArgs e)
{
- using (MediaPortal.Profile.Settings xmlreader = new MediaPortal.Profile.Settings("MyClickMania.xml"))
+ using (MediaPortal.Profile.Settings xmlreader = new MediaPortal.Profile.Settings(Config.GetFile(Config.Dir.Config, "MyClickMania.xml")))
{
textBox1.Text = xmlreader.GetValueAsString("clickmania", "pluginName", PluginName());
textBox2.Text = xmlreader.GetValueAsString("clickmania", "Title", "Click Mania");
@@ -35,7 +36,7 @@
textBox2.Focus();
return;
}
- using (MediaPortal.Profile.Settings xmlwriter = new MediaPortal.Profile.Settings("MyClickMania.xml"))
+ using (MediaPortal.Profile.Settings xmlwriter = new MediaPortal.Profile.Settings(Config.GetFile(Config.Dir.Config, "MyClickMania.xml")))
{
xmlwriter.SetValue("clickmania", "pluginName", textBox1.Text.ToString());
xmlwriter.SetValue("clickmania", "Title", textBox2.Text.ToString());
Modified: trunk/plugins/MyClickmania/GUIClickMania.csproj
===================================================================
--- trunk/plugins/MyClickmania/GUIClickMania.csproj 2008-04-27 02:04:58 UTC (rev 1728)
+++ trunk/plugins/MyClickmania/GUIClickMania.csproj 2008-04-27 06:46:29 UTC (rev 1729)
@@ -77,10 +77,12 @@
<Reference Include="Core, Version=1.0.2590.13808, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\MediaPortal\Core\bin\Release\Core.dll</HintPath>
+ <Private>False</Private>
</Reference>
<Reference Include="Dialogs, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\MediaPortal\Dialogs\bin\Release\Dialogs.dll</HintPath>
+ <Private>False</Private>
</Reference>
<Reference Include="Microsoft.DirectX">
<Name>Microsoft.DirectX</Name>
@@ -110,6 +112,7 @@
<Reference Include="Utils, Version=1.0.2590.13806, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\MediaPortal\Utils\bin\Release\Utils.dll</HintPath>
+ <Private>False</Private>
</Reference>
</ItemGroup>
<ItemGroup>
Modified: trunk/plugins/MyClickmania/myClickMania.cs
===================================================================
--- trunk/plugins/MyClickmania/myClickMania.cs 2008-04-27 02:04:58 UTC (rev 1728)
+++ trunk/plugins/MyClickmania/myClickMania.cs 2008-04-27 06:46:29 UTC (rev 1729)
@@ -2,6 +2,7 @@
using System.Windows.Forms;
using MediaPortal.GUI.Library;
using MediaPortal.Dialogs;
+using MediaPortal.Configuration;
namespace MyClickMania
{
@@ -86,7 +87,7 @@
{
string wPluginName = PluginName();
- using (MediaPortal.Profile.Settings xmlreader = new MediaPortal.Profile.Settings("MyClickMania.xml"))
+ using (MediaPortal.Profile.Settings xmlreader = new MediaPortal.Profile.Settings(Config.GetFile(Config.Dir.Config, "MyClickMania.xml")))
{
wPluginName = xmlreader.GetValueAsString("clickmania", "pluginName", wPluginName);
StrTitle = xmlreader.GetValueAsString("clickmania", "Title", "Click Mania");
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fr...@us...> - 2008-05-19 17:06:22
|
Revision: 1792
http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=1792&view=rev
Author: framug
Date: 2008-05-19 10:06:10 -0700 (Mon, 19 May 2008)
Log Message:
-----------
- XmlConfig for setup
Modified Paths:
--------------
trunk/plugins/MyClickmania/AssemblyInfo.cs
trunk/plugins/MyClickmania/ClickManiaSetup.cs
trunk/plugins/MyClickmania/GUIClickMania.csproj
Added Paths:
-----------
trunk/plugins/MyClickmania/Properties/
trunk/plugins/MyClickmania/XmlConfig.cs
Modified: trunk/plugins/MyClickmania/AssemblyInfo.cs
===================================================================
--- trunk/plugins/MyClickmania/AssemblyInfo.cs 2008-05-19 16:58:17 UTC (rev 1791)
+++ trunk/plugins/MyClickmania/AssemblyInfo.cs 2008-05-19 17:06:10 UTC (rev 1792)
@@ -26,7 +26,7 @@
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
-[assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.1.*")]
//
// In order to sign your assembly you must specify a key to use. Refer to the
Modified: trunk/plugins/MyClickmania/ClickManiaSetup.cs
===================================================================
--- trunk/plugins/MyClickmania/ClickManiaSetup.cs 2008-05-19 16:58:17 UTC (rev 1791)
+++ trunk/plugins/MyClickmania/ClickManiaSetup.cs 2008-05-19 17:06:10 UTC (rev 1792)
@@ -16,11 +16,16 @@
private void ClickManiaSetup_Load(object sender, EventArgs e)
{
- using (MediaPortal.Profile.Settings xmlreader = new MediaPortal.Profile.Settings(Config.GetFile(Config.Dir.Config, "MyClickMania.xml")))
+/* using (MediaPortal.Profile.Settings xmlreader = new MediaPortal.Profile.Settings(Config.GetFile(Config.Dir.Config, "MyClickMania.xml")))
{
textBox1.Text = xmlreader.GetValueAsString("clickmania", "pluginName", PluginName());
textBox2.Text = xmlreader.GetValueAsString("clickmania", "Title", "Click Mania");
- }
+ } */
+
+ XmlConfig XmlConfig = new XmlConfig();
+ textBox1.Text = XmlConfig.ReadXmlConfig("MyClickMania", "clickmania", "pluginName", PluginName());
+ textBox2.Text = XmlConfig.ReadXmlConfig("MyClickMania", "clickmania", "Title", "Click Mania");
+
}
private void ButOK_Click(object sender, EventArgs e)
{
@@ -36,11 +41,15 @@
textBox2.Focus();
return;
}
- using (MediaPortal.Profile.Settings xmlwriter = new MediaPortal.Profile.Settings(Config.GetFile(Config.Dir.Config, "MyClickMania.xml")))
+/* using (MediaPortal.Profile.Settings xmlwriter = new MediaPortal.Profile.Settings(Config.GetFile(Config.Dir.Config, "MyClickMania.xml")))
{
xmlwriter.SetValue("clickmania", "pluginName", textBox1.Text.ToString());
xmlwriter.SetValue("clickmania", "Title", textBox2.Text.ToString());
- }
+ } */
+
+ XmlConfig XmlConfig = new XmlConfig();
+ XmlConfig.WriteXmlConfig("MyClickMania", "clickmania", "pluginName", textBox1.Text.ToString());
+ XmlConfig.WriteXmlConfig("MyClickMania", "clickmania", "Title", textBox2.Text.ToString());
this.Close();
}
}
Modified: trunk/plugins/MyClickmania/GUIClickMania.csproj
===================================================================
--- trunk/plugins/MyClickmania/GUIClickMania.csproj 2008-05-19 16:58:17 UTC (rev 1791)
+++ trunk/plugins/MyClickmania/GUIClickMania.csproj 2008-05-19 17:06:10 UTC (rev 1792)
@@ -134,6 +134,7 @@
<Compile Include="myClickMania.cs">
<SubType>Code</SubType>
</Compile>
+ <Compile Include="XmlConfig.cs" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="ClickManiaSetup.resx">
Added: trunk/plugins/MyClickmania/XmlConfig.cs
===================================================================
--- trunk/plugins/MyClickmania/XmlConfig.cs (rev 0)
+++ trunk/plugins/MyClickmania/XmlConfig.cs 2008-05-19 17:06:10 UTC (rev 1792)
@@ -0,0 +1,320 @@
+#region Banneer
+/*
+ * Copyright (C) 2008 framug
+ *
+ * This Program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This Program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with GNU Make; see the file COPYING. If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ * http://www.gnu.org/copyleft/gpl.html
+ *
+ */
+#endregion
+
+#region HowToUse
+/*
+ * Purpose of this class is to manage a xml config file.
+ * The generated file is MediaPortal xml config file compatible.
+ * It has been written in case of you have your own plugin save button or, you don't want
+ * to use MediaPortal.Configuration and MediaPortal.Profile in your plugin classes.
+ * ie : using (Settings ReadOrWriteXml = new Settings(Config.GetFile(Config.Dir.Config, PluginName())))
+ * { ReadOrWriteXml = ... }
+ *
+ * How to use :
+ * - Add this class to your project.
+ * - Change namespace of this class with your own plugin name.
+ *
+ * - Call methods in your own plugin this way for writing :
+ * XmlConfig XmlConfig = new XmlConfig();
+ * XmlConfig.WriteXmlConfig(StringFileName, StringSectionName, StringEntryName, StringValueName);
+ * XmlConfig.WriteXmlConfig(StringFileName, StringSectionName, StringEntryName, BoolValueName);
+ * XmlConfig.WriteXmlConfig(StringFileName, StringSectionName, StringEntryName, IntValueName);
+ *
+ * - Call methods in your own plugin this way for reading :
+ * XmlConfig XmlConfig = new XmlConfig();
+ * YourString = XmlConfig.ReadXmlConfig(StringFileName, StringSectionName, StringEntryName, StringValueDefaultName);
+ * YourBool = XmlConfig.ReadXmlConfig(StringFileName, StringSectionName, StringEntryName, BoolValueDefaultName);
+ * YourInt = XmlConfig.ReadXmlConfig(StringFileName, StringSectionName, StringEntryName, IntValueDefaultName);
+ *
+ * - Call methods in your own plugin this way for removing entry :
+ * XmlConfig XmlConfig = new XmlConfig();
+ * XmlConfig.RemoveEntry(StringFileName, StringSectionName, StringEntryName);
+ *
+ */
+#endregion
+
+#region using
+using System;
+using System.IO; // For I/O file
+using System.Collections.Generic;
+using System.Text;
+using System.Xml; // For XmlDocument
+using MediaPortal.Configuration; // For recover install MediaPortal path
+#endregion
+
+namespace MyClickMania
+{
+ class XmlConfig
+ {
+
+#region <<DECLARATION>>
+ XmlDocument configxml = new XmlDocument();
+#endregion
+
+#region <<public>>
+
+ // Recover install MediaPortal path
+ public string PathInstalMP()
+ {
+ string path = Config.GetFolder(Config.Dir.Config);
+ return path;
+ }
+
+ // Build entire filename of config file
+ public string EntireFilenameConfig(string FileName)
+ {
+ string entirefilename = PathInstalMP() + @"\" + FileName + ".xml";
+ return entirefilename;
+ }
+
+ // Called with bool type
+ public void WriteXmlConfig(string FileName, string Section, string Entry, bool Value)
+ {
+ string value = "";
+ // Change true by "yes" and false by "no" for xml MediaPortal compatibility
+ if (Value)
+ {
+ value = "yes";
+ }
+ else
+ {
+ value = "no";
+ }
+
+ WriteXmlConfig(FileName, Section, Entry, value);
+ }
+
+ // Called with decimal type
+ public void WriteXmlConfig(string FileName, string Section, string Entry, decimal Value)
+ {
+ string value = Value.ToString();
+
+ WriteXmlConfig(FileName, Section, Entry, value);
+ }
+
+ // Write a config file with XmlDocument
+ public void WriteXmlConfig(string FileName, string Section, string Entry, string Value)
+ {
+ // Create file if doesn't exist
+ if (!File.Exists(EntireFilenameConfig(FileName)))
+ {
+ CreateXmlConfig(FileName);
+ }
+
+ //Open xml document
+ configxml.Load(EntireFilenameConfig(FileName));
+ //Recover profile node
+ XmlElement profile = configxml.DocumentElement;
+ //Create section if doesn't exist
+ String XPath = @"/profile/section[@name='" + Section + "']";
+ XmlNodeList ListSection = configxml.SelectNodes(XPath);
+ if (ListSection.Count < 1)
+ {
+ CreateSection(Section);
+ }
+ //Posit on section node
+ XmlNode section = profile.SelectSingleNode("section[@name='" + Section + "']");
+
+ //Create Entry if doesn't exist
+ XPath = @"/profile/section[@name='" + Section + "']/entry[@name='" + Entry + "']";
+ XmlNodeList ListEntry = configxml.SelectNodes(XPath);
+ if (ListEntry.Count < 1)
+ {
+ CreateEntry(Section, Entry);
+ }
+ //Posit on entry node
+ XmlNode entry = section.SelectSingleNode("entry[@name='" + Entry + "']");
+
+ //Store entry value
+ entry.InnerText = Value;
+
+ //Save xml config file
+ configxml.Save(EntireFilenameConfig(FileName));
+ }
+
+ // Remove an Entry
+ public void RemoveEntry(string FileName, string Section, string Entry)
+ {
+ // Return if xml file doesn't exist
+ if (!File.Exists(EntireFilenameConfig(FileName)))
+ {
+ return;
+ }
+
+ //Open xml document
+ configxml.Load(EntireFilenameConfig(FileName));
+ //Recover profile node
+ XmlElement profile = configxml.DocumentElement;
+
+ //Posit on value
+ String XPath = @"/profile/section[@name='" + Section + "']/entry[@name='" + Entry + "']";
+ XmlNodeList ListEntry = configxml.SelectNodes(XPath);
+
+ // If value exist, remove it otherwise, return
+ if (ListEntry.Count > 0)
+ {
+ //Posit on section node
+ XmlNode section = profile.SelectSingleNode("section[@name='" + Section + "']");
+ //Posit on entry node
+ XmlNode entry = section.SelectSingleNode("entry[@name='" + Entry + "']");
+ //Remove the entry node for section
+ section.RemoveChild(entry);
+ //Save xml config file
+ configxml.Save(EntireFilenameConfig(FileName));
+ }
+ return;
+ }
+
+ // Called with bool type
+ public bool ReadXmlConfig(string FileName, string Section, string Entry, bool Value)
+ {
+ // Change true by "yes" and false by "no" for xml MediaPortal compatibility
+ string value = Value.ToString();
+ if (Value)
+ {
+ value = "yes";
+ }
+ else
+ {
+ value = "no";
+ }
+
+ string result = ReadXmlConfig(FileName, Section, Entry, value);
+
+ // Change "yes" by true and "no" by false for xml MediaPortal compatibility
+ if (result == "yes")
+ {
+ Value = true;
+ }
+ else
+ {
+ Value = false;
+ }
+
+ return Value;
+ }
+
+ // Called with int type
+ public int ReadXmlConfig(string FileName, string Section, string Entry, int Value)
+ {
+ string value = Value.ToString();
+
+ string result = ReadXmlConfig(FileName, Section, Entry, value);
+
+ Value = Convert.ToInt32(result);
+
+ return Value;
+ }
+
+ // Read xml config file with XmlDocument
+ public string ReadXmlConfig(string FileName, string Section, string Entry, string Value)
+ {
+ // Default value if xml file doesn't exist
+ if (!File.Exists(EntireFilenameConfig(FileName)))
+ {
+ return Value;
+ }
+
+ //Open xml document
+ configxml.Load(EntireFilenameConfig(FileName));
+ //Recover profile node
+ XmlElement profile = configxml.DocumentElement;
+
+ //Posit on value
+ String XPath = @"/profile/section[@name='" + Section + "']/entry[@name='" + Entry + "']";
+ XmlNodeList ListEntry = configxml.SelectNodes(XPath);
+
+ // If value exist, return it otherwise, return default value
+ if (ListEntry.Count > 0)
+ {
+ //Posit on section node
+ XmlNode section = profile.SelectSingleNode("section[@name='" + Section + "']");
+ //Posit on entry node
+ XmlNode entry = section.SelectSingleNode("entry[@name='" + Entry + "']");
+ //Recover value with entry data
+ Value = entry.InnerText;
+ }
+
+ return Value;
+ }
+
+#endregion
+
+#region <<private>>
+
+ // Create xml config file with profile node
+ private void CreateXmlConfig(string FileName)
+ {
+ XmlDocument configxml = new XmlDocument();
+ //Declaration of XML document type (utf-8, same as MediaPortal)
+ XmlDeclaration declaration = configxml.CreateXmlDeclaration("1.0", "utf-8", "");
+ //Add declaration to document
+ configxml.AppendChild(declaration);
+ //Create profile node
+ XmlNode profile = configxml.CreateNode(System.Xml.XmlNodeType.Element, "profile", "");
+ //Add node to document
+ configxml.AppendChild(profile);
+
+ //Save xml config file
+ configxml.Save(EntireFilenameConfig(FileName));
+ }
+
+ // create section node
+ private void CreateSection(string Section)
+ {
+ //Recover profile node
+ XmlElement profile = configxml.DocumentElement;
+ //Create new section node
+ XmlNode section = configxml.CreateElement("section");
+ //Add "name" attribute to section node
+ XmlAttribute name = configxml.CreateAttribute("name");
+ //value is section name
+ name.Value = Section;
+ //Add value to section
+ section.Attributes.Append(name);
+ //Add section to document
+ profile.AppendChild(section);
+ }
+
+ // create entry node
+ private void CreateEntry(string Section, string Entry)
+ {
+ //Recover profile node
+ XmlElement profile = configxml.DocumentElement;
+ //Posit on section node
+ XmlNode section = profile.SelectSingleNode("section[@name='" + Section + "']");
+ //Create new node for entry
+ XmlNode entry = configxml.CreateElement("entry");
+ //Add "name" attribute to entry node
+ XmlAttribute name = configxml.CreateAttribute("name");
+ //value is entry name
+ name.Value = Entry;
+ //Add value to entry
+ entry.Attributes.Append(name);
+ //Add entry to document
+ section.AppendChild(entry);
+ }
+
+#endregion
+
+ } // end of class
+} // end of namespace
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fr...@us...> - 2008-05-19 17:26:01
|
Revision: 1795
http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=1795&view=rev
Author: framug
Date: 2008-05-19 10:25:05 -0700 (Mon, 19 May 2008)
Log Message:
-----------
corrected project Properties
Modified Paths:
--------------
trunk/plugins/MyClickmania/GUIClickMania.csproj
Added Paths:
-----------
trunk/plugins/MyClickmania/Properties/
trunk/plugins/MyClickmania/Properties/AssemblyInfo.cs
Modified: trunk/plugins/MyClickmania/GUIClickMania.csproj
===================================================================
--- trunk/plugins/MyClickmania/GUIClickMania.csproj 2008-05-19 17:22:26 UTC (rev 1794)
+++ trunk/plugins/MyClickmania/GUIClickMania.csproj 2008-05-19 17:25:05 UTC (rev 1795)
@@ -116,9 +116,6 @@
</Reference>
</ItemGroup>
<ItemGroup>
- <Compile Include="AssemblyInfo.cs">
- <SubType>Code</SubType>
- </Compile>
<Compile Include="ClickMania.cs">
<SubType>Code</SubType>
</Compile>
@@ -134,6 +131,7 @@
<Compile Include="myClickMania.cs">
<SubType>Code</SubType>
</Compile>
+ <Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="XmlConfig.cs" />
</ItemGroup>
<ItemGroup>
Added: trunk/plugins/MyClickmania/Properties/AssemblyInfo.cs
===================================================================
--- trunk/plugins/MyClickmania/Properties/AssemblyInfo.cs (rev 0)
+++ trunk/plugins/MyClickmania/Properties/AssemblyInfo.cs 2008-05-19 17:25:05 UTC (rev 1795)
@@ -0,0 +1,58 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+
+//
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+//
+[assembly: AssemblyTitle("")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("")]
+[assembly: AssemblyCopyright("")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+//
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Revision and Build Numbers
+// by using the '*' as shown below:
+
+[assembly: AssemblyVersion("1.1.*")]
+
+//
+// In order to sign your assembly you must specify a key to use. Refer to the
+// Microsoft .NET Framework documentation for more information on assembly signing.
+//
+// Use the attributes below to control which key is used for signing.
+//
+// Notes:
+// (*) If no key is specified, the assembly is not signed.
+// (*) KeyName refers to a key that has been installed in the Crypto Service
+// Provider (CSP) on your machine. KeyFile refers to a file which contains
+// a key.
+// (*) If the KeyFile and the KeyName values are both specified, the
+// following processing occurs:
+// (1) If the KeyName can be found in the CSP, that key is used.
+// (2) If the KeyName does not exist and the KeyFile does exist, the key
+// in the KeyFile is installed into the CSP and used.
+// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
+// When specifying the KeyFile, the location of the KeyFile should be
+// relative to the project output directory which is
+// %Project Directory%\obj\<configuration>. For example, if your KeyFile is
+// located in the project directory, you would specify the AssemblyKeyFile
+// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")]
+// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
+// documentation for more information on this.
+//
+[assembly: AssemblyDelaySign(false)]
+[assembly: AssemblyKeyFile("")]
+[assembly: AssemblyKeyName("")]
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fr...@us...> - 2008-05-19 17:44:49
|
Revision: 1797
http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=1797&view=rev
Author: framug
Date: 2008-05-19 10:44:35 -0700 (Mon, 19 May 2008)
Log Message:
-----------
Removed Paths:
-------------
trunk/plugins/MyClickmania/AssemblyInfo.cs
trunk/plugins/MyClickmania/Class1.cs
Deleted: trunk/plugins/MyClickmania/AssemblyInfo.cs
===================================================================
--- trunk/plugins/MyClickmania/AssemblyInfo.cs 2008-05-19 17:30:00 UTC (rev 1796)
+++ trunk/plugins/MyClickmania/AssemblyInfo.cs 2008-05-19 17:44:35 UTC (rev 1797)
@@ -1,58 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-
-//
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-//
-[assembly: AssemblyTitle("")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("")]
-[assembly: AssemblyCopyright("")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-//
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Revision and Build Numbers
-// by using the '*' as shown below:
-
-[assembly: AssemblyVersion("1.1.*")]
-
-//
-// In order to sign your assembly you must specify a key to use. Refer to the
-// Microsoft .NET Framework documentation for more information on assembly signing.
-//
-// Use the attributes below to control which key is used for signing.
-//
-// Notes:
-// (*) If no key is specified, the assembly is not signed.
-// (*) KeyName refers to a key that has been installed in the Crypto Service
-// Provider (CSP) on your machine. KeyFile refers to a file which contains
-// a key.
-// (*) If the KeyFile and the KeyName values are both specified, the
-// following processing occurs:
-// (1) If the KeyName can be found in the CSP, that key is used.
-// (2) If the KeyName does not exist and the KeyFile does exist, the key
-// in the KeyFile is installed into the CSP and used.
-// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
-// When specifying the KeyFile, the location of the KeyFile should be
-// relative to the project output directory which is
-// %Project Directory%\obj\<configuration>. For example, if your KeyFile is
-// located in the project directory, you would specify the AssemblyKeyFile
-// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")]
-// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
-// documentation for more information on this.
-//
-[assembly: AssemblyDelaySign(false)]
-[assembly: AssemblyKeyFile("")]
-[assembly: AssemblyKeyName("")]
Deleted: trunk/plugins/MyClickmania/Class1.cs
===================================================================
--- trunk/plugins/MyClickmania/Class1.cs 2008-05-19 17:30:00 UTC (rev 1796)
+++ trunk/plugins/MyClickmania/Class1.cs 2008-05-19 17:44:35 UTC (rev 1797)
@@ -1,17 +0,0 @@
-using System;
-
-namespace GUIClickMania
-{
- /// <summary>
- /// Summary description for Class1.
- /// </summary>
- public class Class1
- {
- public Class1()
- {
- //
- // TODO: Add constructor logic here
- //
- }
- }
-}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|