summaryrefslogtreecommitdiff
path: root/JuickApi
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2013-02-08 16:30:43 +0400
committerGravatar Vitaly Takmazov2013-02-08 16:30:43 +0400
commitf8a31a6f31a1f897a3a3eb5a82b0c9ab13cad55a (patch)
treea6066956a0cb5ab67d7d58ca52f29ec9eaa2178b /JuickApi
parent3879b6fd52395ba47c070b1085d4212f0d376cb4 (diff)
parent7eb3fc7465c038de80e140f6956999aeb035505a (diff)
Merge branch 'master' of https://bitbucket.org/vitalyster/juick-windowsphone
Diffstat (limited to 'JuickApi')
-rw-r--r--JuickApi/JuickApi.csproj52
-rw-r--r--JuickApi/Message.cs16
-rw-r--r--JuickApi/Photo.cs9
-rw-r--r--JuickApi/Properties/AssemblyInfo.cs30
-rw-r--r--JuickApi/User.cs9
5 files changed, 116 insertions, 0 deletions
diff --git a/JuickApi/JuickApi.csproj b/JuickApi/JuickApi.csproj
new file mode 100644
index 0000000..b0eb7b4
--- /dev/null
+++ b/JuickApi/JuickApi.csproj
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
+ <PropertyGroup>
+ <MinimumVisualStudioVersion>10.0</MinimumVisualStudioVersion>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProjectGuid>{51F516BC-4EF9-4C81-B4A5-3E97809B70CE}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>JuickApi</RootNamespace>
+ <AssemblyName>JuickApi</AssemblyName>
+ <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+ <TargetFrameworkProfile>Profile96</TargetFrameworkProfile>
+ <FileAlignment>512</FileAlignment>
+ <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
+ <!-- A reference to the entire .NET Framework is automatically included -->
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Message.cs" />
+ <Compile Include="Photo.cs" />
+ <Compile Include="User.cs" />
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ </ItemGroup>
+ <Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+</Project> \ No newline at end of file
diff --git a/JuickApi/Message.cs b/JuickApi/Message.cs
new file mode 100644
index 0000000..9bd3230
--- /dev/null
+++ b/JuickApi/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/JuickApi/Photo.cs b/JuickApi/Photo.cs
new file mode 100644
index 0000000..e6cce2b
--- /dev/null
+++ b/JuickApi/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/JuickApi/Properties/AssemblyInfo.cs b/JuickApi/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..58faa6d
--- /dev/null
+++ b/JuickApi/Properties/AssemblyInfo.cs
@@ -0,0 +1,30 @@
+using System.Resources;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// 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("JuickApi")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("JuickApi")]
+[assembly: AssemblyCopyright("Copyright © 2013")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+[assembly: NeutralResourcesLanguage("en")]
+
+// 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 Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/JuickApi/User.cs b/JuickApi/User.cs
new file mode 100644
index 0000000..dd8bae2
--- /dev/null
+++ b/JuickApi/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; }
+ }
+}