summaryrefslogtreecommitdiff
path: root/Juick
diff options
context:
space:
mode:
Diffstat (limited to 'Juick')
-rw-r--r--Juick/Api/Message.cs16
-rw-r--r--Juick/Api/Photo.cs9
-rw-r--r--Juick/Api/User.cs9
-rw-r--r--Juick/Juick.csproj9
4 files changed, 37 insertions, 6 deletions
diff --git a/Juick/Api/Message.cs b/Juick/Api/Message.cs
new file mode 100644
index 0000000..9bd3230
--- /dev/null
+++ b/Juick/Api/Message.cs
@@ -0,0 +1,16 @@
+using System.Collections.Generic;
+
+namespace JuickApi
+{
+ public class Message
+ {
+ public int Mid { get; set; }
+ public int Rid { get; set; }
+ public string Body { get; set; }
+ public User User { get; set; }
+ public string Timestamp { get; set; }
+ public int Replies { get; set; }
+ public List<string> Tags { get; set; }
+ public Photo Photo { get; set; }
+ }
+}
diff --git a/Juick/Api/Photo.cs b/Juick/Api/Photo.cs
new file mode 100644
index 0000000..e6cce2b
--- /dev/null
+++ b/Juick/Api/Photo.cs
@@ -0,0 +1,9 @@
+namespace JuickApi
+{
+ public class Photo
+ {
+ public string Thumbnail { get; set; }
+ public string Small { get; set; }
+ public string Medium { get; set; }
+ }
+}
diff --git a/Juick/Api/User.cs b/Juick/Api/User.cs
new file mode 100644
index 0000000..dd8bae2
--- /dev/null
+++ b/Juick/Api/User.cs
@@ -0,0 +1,9 @@
+namespace JuickApi
+{
+ public class User
+ {
+ public int Uid { get; set; }
+ public string UName { get; set; }
+ public string Fullname { get; set; }
+ }
+}
diff --git a/Juick/Juick.csproj b/Juick/Juick.csproj
index c330761..4ab974d 100644
--- a/Juick/Juick.csproj
+++ b/Juick/Juick.csproj
@@ -66,6 +66,9 @@
<Reference Include="System.Xml.Serialization" />
</ItemGroup>
<ItemGroup>
+ <Compile Include="Api\Message.cs" />
+ <Compile Include="Api\Photo.cs" />
+ <Compile Include="Api\User.cs" />
<Compile Include="App.xaml.cs">
<DependentUpon>App.xaml</DependentUpon>
</Compile>
@@ -166,12 +169,6 @@
<Content Include="Images\appbar.send.png" />
<Content Include="SplashScreenImage.jpg" />
</ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\JuickApi\JuickApi.csproj">
- <Project>{51F516BC-4EF9-4C81-B4A5-3E97809B70CE}</Project>
- <Name>JuickApi</Name>
- </ProjectReference>
- </ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Microsoft\Silverlight for Phone\$(TargetFrameworkVersion)\Microsoft.Silverlight.$(TargetFrameworkProfile).Overrides.targets" />
<Import Project="$(MSBuildExtensionsPath)\Microsoft\Silverlight for Phone\$(TargetFrameworkVersion)\Microsoft.Silverlight.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.