]> Some of my projects - anidbudpclient.git/commitdiff
Retire CetegoryList/CategoryWeightList.
authorAPTX <marek321@gmail.com>
Sat, 9 Jan 2016 21:30:28 +0000 (22:30 +0100)
committerAPTX <marek321@gmail.com>
Sat, 9 Jan 2016 21:47:54 +0000 (22:47 +0100)
Retired from API definition on 27 March 2015.

anidbudpclient_global.h
animecommand.cpp
filecommand.cpp

index 34a6b660b02672287b252558da4501a6a272ac2c..a07c7ada32990a9312fa597bee333bc6e31dfd32 100644 (file)
@@ -333,7 +333,7 @@ namespace AniDBUdpClient
                        RomajiName                              = 0x00800000,
 
                //      Reserved                                = 0x01000000,
-                       CateogryList                    = 0x02000000,
+               //      CateogryList                    = 0x02000000, RETIRED
                        RelatedAidType                  = 0x04000000,
                        RelatedAidList                  = 0x08000000,
                        Type                                    = 0x10000000,
@@ -351,9 +351,8 @@ namespace AniDBUdpClient
                        Byte2                                   = SynonymList | ShortNameList
                                                                          | OtherName | EnglishName | KanjiName
                                                                          | RomajiName,
-                       Byte1                                   = CateogryList | RelatedAidType
-                                                                         | RelatedAidList | Type | Year
-                                                                         | HighestEpisodeNumber
+                       Byte1                                   = RelatedAidType | RelatedAidList
+                                                                         | Type | Year | HighestEpisodeNumber
                                                                          | AnimeTotalEpisodes,
                        AllData                                 = Byte1 | Byte2 | Byte3 | Byte4,
                        InvalidBits                             = ~AllData
@@ -420,8 +419,8 @@ namespace AniDBUdpClient
                        KanjiName                       = Q_UINT64_C(0x0000400000000000),
                        RomajiName                      = Q_UINT64_C(0x0000800000000000),
 
-                       CategoryWeightList      = Q_UINT64_C(0x0001000000000000),
-                       CategoryList            = Q_UINT64_C(0x0002000000000000),
+               //      CategoryWeightList      = Q_UINT64_C(0x0001000000000000), RETIRED
+               //      CategoryList            = Q_UINT64_C(0x0002000000000000), RETIRED
                        RelatedAidType          = Q_UINT64_C(0x0004000000000000),
                        RelatedAidList          = Q_UINT64_C(0x0008000000000000),
                        Type                            = Q_UINT64_C(0x0010000000000000),
@@ -444,8 +443,8 @@ namespace AniDBUdpClient
                                                        | SpecialEpCount | HighestEpisodeNumber | Episodes,
                        Byte6                   = SynonymList | ShortNameList | OtherName
                                                        | EnglishName | KanjiName | RomajiName,
-                       Byte7                   = CategoryWeightList | CategoryList | RelatedAidType
-                                                       | RelatedAidList | Type | Year | DateFlags | Aid,
+                       Byte7                   = RelatedAidType| RelatedAidList | Type | Year
+                                                       | DateFlags | Aid,
                        AllData                 = Byte1 | Byte2 | Byte3 | Byte4
                                                        | Byte5 | Byte6 | Byte7,
                        InvalidBits             = ~AllData,
index 54d350606dead4e3f50256d2e22aaa47fd3f61fb..7b480c33d831926953bf02da903a51cd93553c3b 100644 (file)
@@ -149,7 +149,6 @@ void AnimeReply::readReplyData(const QString &reply)
                animeFlagData.insert(AnimeFlag::OtherName,                              parts[15]);\r
                animeFlagData.insert(AnimeFlag::ShortNameList,                  parts[16]);\r
                animeFlagData.insert(AnimeFlag::SynonymList,                    parts[17]);\r
-               animeFlagData.insert(AnimeFlag::CategoryList,                   parts[18]);\r
                return;\r
        }\r
 \r
@@ -359,12 +358,12 @@ QString AnimeReply::romajiName() const
 \r
 QString AnimeReply::categoryWeightList() const\r
 {\r
-       return animeFlagData.value(AnimeFlag::CategoryWeightList).toString();\r
+       return QString();\r
 }\r
 \r
 QStringList AnimeReply::categoryList() const\r
 {\r
-       return animeFlagData.value(AnimeFlag::CategoryList).toString().split(QChar('\''));\r
+       return QStringList();\r
 }\r
 \r
 QStringList AnimeReply::relatedAidType() const\r
index 74f3c30a8aae71a92cb94d594d998473dd2ffdcd..177f12aab7cd6fc59af70c38046b70c5541b5580 100644 (file)
@@ -431,7 +431,7 @@ QString FileReply::romajiName() const
 
 QString FileReply::cateogryList() const
 {
-       return fileAnimeFlagData.value(FileAnimeFlag::CateogryList).toString();
+       return QString();
 }
 
 QString FileReply::relatedAidType() const