diff --git a/MusicPlayer/MusicPlayer/APIHandler.cs b/MusicPlayer/MusicPlayer/APIHandler.cs index 59e719c..333f385 100644 --- a/MusicPlayer/MusicPlayer/APIHandler.cs +++ b/MusicPlayer/MusicPlayer/APIHandler.cs @@ -3,10 +3,26 @@ using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; +using MusicPlayer; +using Newtonsoft.Json; namespace WindowsFormsApplication2 { - class APIHandler + internal class APIHandler { + public APIHandler() + { + + } + + public List GetArtists() + { + return null; + } + + public List GetAlbums() + { + return null; + } } } diff --git a/MusicPlayer/MusicPlayer/Album.cs b/MusicPlayer/MusicPlayer/Album.cs new file mode 100644 index 0000000..1ad2279 --- /dev/null +++ b/MusicPlayer/MusicPlayer/Album.cs @@ -0,0 +1,10 @@ +namespace MusicPlayer +{ + public class Album + { + public Album() + { + + } + } +} \ No newline at end of file diff --git a/MusicPlayer/MusicPlayer/Artist.cs b/MusicPlayer/MusicPlayer/Artist.cs new file mode 100644 index 0000000..1013585 --- /dev/null +++ b/MusicPlayer/MusicPlayer/Artist.cs @@ -0,0 +1,10 @@ +namespace MusicPlayer +{ + public class Artist + { + public Artist() + { + + } + } +} \ No newline at end of file diff --git a/MusicPlayer/MusicPlayer/Form1.cs b/MusicPlayer/MusicPlayer/Form1.cs index 7e57f6c..9561207 100644 --- a/MusicPlayer/MusicPlayer/Form1.cs +++ b/MusicPlayer/MusicPlayer/Form1.cs @@ -7,6 +7,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; +using WindowsFormsApplication2; namespace MusicPlayer { @@ -15,6 +16,9 @@ namespace MusicPlayer public Form1() { InitializeComponent(); + NetworkHandler nw = new NetworkHandler("83.128.250.123"); + + } } } diff --git a/MusicPlayer/MusicPlayer/Form1.resx b/MusicPlayer/MusicPlayer/Form1.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/MusicPlayer/MusicPlayer/Form1.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/MusicPlayer/MusicPlayer/NetworkHandler.cs b/MusicPlayer/MusicPlayer/NetworkHandler.cs index c207af2..39f34f9 100644 --- a/MusicPlayer/MusicPlayer/NetworkHandler.cs +++ b/MusicPlayer/MusicPlayer/NetworkHandler.cs @@ -1,4 +1,5 @@ -using System.Text; +using System; +using System.Text; using System.Net.Sockets; namespace WindowsFormsApplication2 diff --git a/MusicPlayer/MusicPlayer/packages.config b/MusicPlayer/MusicPlayer/packages.config new file mode 100644 index 0000000..64b5d8e --- /dev/null +++ b/MusicPlayer/MusicPlayer/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file