Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bfd01a3
commit 3c92b03
Showing
2 changed files
with
77 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,39 @@ | ||
// Copyright © 2011-2013 Yanick Castonguay | ||
// | ||
// This file is part of MPfm. | ||
// | ||
// MPfm 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 3 of the License, or | ||
// (at your option) any later version. | ||
// | ||
// MPfm 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 MPfm. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
using System; | ||
|
||
namespace MPfm.Library.Objects | ||
{ | ||
/// <summary> | ||
/// Object representing a device with informations; simplified for cloud storage. | ||
/// </summary> | ||
public class CloudDeviceInfo | ||
{ | ||
public Guid AudioFileId { get; set; } | ||
public string ArtistName { get; set; } | ||
public string AlbumTitle { get; set; } | ||
public string SongTitle { get; set; } | ||
public string Position { get; set; } | ||
public long PositionBytes { get; set; } | ||
public string DeviceType { get; set; } | ||
public string DeviceName { get; set; } | ||
public string DeviceId { get; set; } | ||
public string IPAddress { get; set; } | ||
public DateTime Timestamp { get; set; } | ||
} | ||
} | ||
// Copyright © 2011-2013 Yanick Castonguay | ||
// | ||
// This file is part of MPfm. | ||
// | ||
// MPfm 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 3 of the License, or | ||
// (at your option) any later version. | ||
// | ||
// MPfm 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 MPfm. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
using System; | ||
|
||
namespace MPfm.Library.Objects | ||
{ | ||
/// <summary> | ||
/// Object representing a device with informations; simplified for cloud storage. | ||
/// </summary> | ||
public class CloudDeviceInfo | ||
{ | ||
public Guid AudioFileId { get; set; } | ||
public string ArtistName { get; set; } | ||
public string AlbumTitle { get; set; } | ||
public string SongTitle { get; set; } | ||
public string Position { get; set; } | ||
public long PositionBytes { get; set; } | ||
public string DeviceType { get; set; } | ||
public string DeviceName { get; set; } | ||
public string DeviceId { get; set; } | ||
public string IPAddress { get; set; } | ||
public DateTime Timestamp { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,38 @@ | ||
// Copyright © 2011-2013 Yanick Castonguay | ||
// | ||
// This file is part of MPfm. | ||
// | ||
// MPfm 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 3 of the License, or | ||
// (at your option) any later version. | ||
// | ||
// MPfm 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 MPfm. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
|
||
namespace MPfm.Library.Objects | ||
{ | ||
/// <summary> | ||
/// Object representing a playlist; simplified for cloud storage. | ||
/// </summary> | ||
public class CloudPlaylist | ||
{ | ||
public string Name { get; set; } | ||
public string DeviceId { get; set; } | ||
public DateTime Timestamp { get; set; } | ||
public List<Guid> AudioFiles { get; set; } | ||
|
||
public CloudPlaylist() | ||
{ | ||
AudioFiles = new List<Guid>(); | ||
} | ||
} | ||
} | ||
// Copyright © 2011-2013 Yanick Castonguay | ||
// | ||
// This file is part of MPfm. | ||
// | ||
// MPfm 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 3 of the License, or | ||
// (at your option) any later version. | ||
// | ||
// MPfm 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 MPfm. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
|
||
namespace MPfm.Library.Objects | ||
{ | ||
/// <summary> | ||
/// Object representing a playlist; simplified for cloud storage. | ||
/// </summary> | ||
public class CloudPlaylist | ||
{ | ||
public string Name { get; set; } | ||
public string DeviceId { get; set; } | ||
public DateTime Timestamp { get; set; } | ||
public List<Guid> AudioFiles { get; set; } | ||
|
||
public CloudPlaylist() | ||
{ | ||
AudioFiles = new List<Guid>(); | ||
} | ||
} | ||
} |