diff options
Diffstat (limited to 'libtmdb/tmdb-common.ice')
-rw-r--r-- | libtmdb/tmdb-common.ice | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/libtmdb/tmdb-common.ice b/libtmdb/tmdb-common.ice new file mode 100644 index 0000000..532d65b --- /dev/null +++ b/libtmdb/tmdb-common.ice @@ -0,0 +1,90 @@ +#ifndef TMDB_COMMON_ICE +#define TMDB_COMMON_ICE + +module TMDb { + struct Date { + short Year; + short Month; + short Day; + }; + + struct CountryRef { + ["slicer:name:iso_3166_1"] + string Id; + + ["slicer:name:name"] + string Name; + }; + sequence<CountryRef> CountryRefList; + + struct CompanyRef { + ["slicer:name:id"] + int Id; + + ["slicer:name:name"] + string Name; + }; + sequence<CompanyRef> CompanyRefList; + + struct Language { + ["slicer:name:iso_639_1"] + string Id; + + ["slicer:name:name"] + string Name; + }; + sequence<Language> LanguageList; + + struct Genre { + ["slicer:name:id"] + int Id; + + ["slicer:name:name"] + string Name; + }; + sequence<Genre> GenreList; + + struct PersonRef { + ["slicer:name:id"] + int Id; + + ["slicer:name:name"] + string Name; + + ["slicer:name:profile_path"] + string ProfilePath; + }; + sequence<PersonRef> PersonRefList; + + struct SeasonRef { + ["slicer:name:air_date", + "slicer:conversion:std.string:stringToDate:dateToString"] + Date AirDate; + + ["slicer:name:id"] + int Id; + + ["slicer:name:poster_path"] + string PosterPath; + + ["slicer:name:season_number"] + short SeasonNumber; + + }; + sequence<SeasonRef> SeasonRefList; + + struct NetworkRef { + ["slicer:name:id"] + int Id; + + ["slicer:name:name"] + string Name; + }; + sequence<NetworkRef> NetworkRefList; + + sequence<short> Runtimes; + sequence<string> StringList; +}; + +#endif + |