Clean source codes 64/38464/1
authorKim Tae Soo <taesoo46.kim@samsung.com>
Tue, 21 Apr 2015 06:01:47 +0000 (15:01 +0900)
committerKim Tae Soo <taesoo46.kim@samsung.com>
Tue, 21 Apr 2015 06:01:47 +0000 (15:01 +0900)
Change-Id: Ib658635d06f4971415c78d48d94dcb4bae062225
Signed-off-by: Kim Tae Soo <taesoo46.kim@samsung.com>
41 files changed:
src/data/AlbumStorage.cpp
src/data/CategoryStorage.cpp
src/data/FolderStorage.cpp
src/data/SongStorage.cpp
src/data/album_info.cpp
src/data/bus.cpp
src/data/category_info.cpp
src/data/folder_info.cpp
src/data/mediadata.cpp
src/data/song_info.cpp
src/main.cpp
src/playback/MusicControllerImpl.cpp
src/playback/music-controller.cpp
src/playback/playback-mgr.cpp
src/playback/playlist-mgr.cpp
src/playback/volume-control.cpp
src/views/ErrorPopupWindow.cpp
src/views/HandleVolume.cpp
src/views/Info.cpp
src/views/PlayListCtxPopup.cpp
src/views/PlaySettingCtxPopup.cpp
src/views/PlaybackController.cpp
src/views/RemovePopupWindow.cpp
src/views/SliderWidget.cpp
src/views/SortCtxPopup.cpp
src/views/SourceCtxPopup.cpp
src/views/Timer.cpp
src/views/album-layout.cpp
src/views/album-songs-layout.cpp
src/views/artist-layout.cpp
src/views/base-view.cpp
src/views/category-layout.cpp
src/views/category-songs-layout.cpp
src/views/common-ui.cpp
src/views/context-view.cpp
src/views/entry-popup.cpp
src/views/folder-layout.cpp
src/views/genre-layout.cpp
src/views/playback-view.cpp
src/views/playlist-layout.cpp
src/views/song-layout.cpp

index 045018c..8e454a1 100644 (file)
 #include <sys/time.h>
 #include <stdlib.h>
 #include <string.h>
-
+#include <AppCommon.h>
 #include "i18n.h"
 #include "define.h"
-
-#include <AppCommon.h>
 #include "song_info.h"
 #include "album_info.h"
 #include "category_info.h"
index 11cbed3..e0e9c83 100644 (file)
 #include <sys/time.h>
 #include <stdlib.h>
 #include <string.h>
-
+#include <AppCommon.h>
 #include "i18n.h"
 #include "define.h"
-
-#include <AppCommon.h>
 #include "song_info.h"
 #include "album_info.h"
 #include "category_info.h"
index 53f6c98..2cabd5e 100644 (file)
  * limitations under the License.
  */
 
-
 #include <media_content.h>
 #include <sys/time.h>
 #include <stdlib.h>
 #include <string.h>
+#include <AppCommon.h>
 #include "i18n.h"
 #include "define.h"
-
-#include <AppCommon.h>
 #include "song_info.h"
 #include "album_info.h"
 #include "category_info.h"
index a80f5ac..cb0e953 100644 (file)
 #include <sys/time.h>
 #include <stdlib.h>
 #include <string.h>
+#include <AppCommon.h>
 #include "i18n.h"
 #include "define.h"
-
-#include <AppCommon.h>
 #include "song_info.h"
 #include "album_info.h"
 #include "category_info.h"
index 27490a2..b210da4 100644 (file)
@@ -16,8 +16,8 @@
 
 #include <stdlib.h>
 #include <string.h>
-#include "i18n.h"
 #include <AppCommon.h>
+#include "i18n.h"
 #include "album_info.h"
 
 
index bfcbe0a..577577b 100644 (file)
 
 #include <gio/gio.h>
 #include <stdlib.h>
+#include <AppCommon.h>
 
-#include <MacroDefine.h>
-
-#define BUS_NAME        "org.tizen.tv.homescreen.music"
-#define BUS_OBJECT_PATH "/org/tizen/tv/music"
-#define BUS_INTERFACE   "org.tizen.tv.homescreen.dynamicbox"
+#define BUS_NAME          "org.tizen.tv.homescreen.music"
+#define BUS_OBJECT_PATH   "/org/tizen/tv/music"
+#define BUS_INTERFACE     "org.tizen.tv.homescreen.dynamicbox"
 #define BUS_SIGNAL_UPDATE "Update"
-#define BUS_TYPE G_BUS_TYPE_SYSTEM
+#define BUS_TYPE          G_BUS_TYPE_SYSTEM
 
 static void _proxy_cb(GObject *obj, GAsyncResult *res, gpointer data)
 {
index edf40f8..507f8a5 100644 (file)
@@ -16,9 +16,8 @@
 
 #include <stdlib.h>
 #include <string.h>
-#include "i18n.h"
-
 #include <AppCommon.h>
+#include "i18n.h"
 #include "define.h"
 #include "category_info.h"
 
index 3b44ee2..0319fbe 100644 (file)
@@ -16,8 +16,8 @@
 
 #include <stdlib.h>
 #include <string.h>
-#include "i18n.h"
 #include <AppCommon.h>
+#include "i18n.h"
 #include "folder_info.h"
 
 
index 83bbfe4..b45fae2 100644 (file)
 #include <sys/time.h>
 #include <stdlib.h>
 #include <string.h>
+#include <AppCommon.h>
 #include "i18n.h"
 #include "define.h"
-
-#include <AppCommon.h>
 #include "song_info.h"
 #include "album_info.h"
 #include "category_info.h"
 #include "mediadata.h"
 #include "common.h"
 
-#define MEDIA_CONDITION_MUSIC          "(MEDIA_TYPE=3)"
-#define MEDIA_CONDITION_INTERNAL       "(MEDIA_STORAGE_TYPE=0)"
-#define MEDIA_CONDITION_EXTERNAL       "(MEDIA_STORAGE_TYPE=1)"
-#define MUSIC_STR_UNKNOWN              N_("Unknown")
+#define MEDIA_CONDITION_MUSIC    "(MEDIA_TYPE=3)"
+#define MEDIA_CONDITION_INTERNAL "(MEDIA_STORAGE_TYPE=0)"
+#define MEDIA_CONDITION_EXTERNAL "(MEDIA_STORAGE_TYPE=1)"
+#define MUSIC_STR_UNKNOWN        N_("Unknown")
 
 
 struct SMediadata {
index d4e5361..20f9391 100644 (file)
@@ -16,8 +16,8 @@
 
 #include <stdlib.h>
 #include <string.h>
-#include "i18n.h"
 #include <AppCommon.h>
+#include "i18n.h"
 #include "song_info.h"
 
 
index 1ec108c..ec5e952 100644 (file)
@@ -15,7 +15,6 @@
  */
 
 #include <AppCommon.h>
-
 #include "song_info.h"
 #include "album_info.h"
 #include "define.h"
 #include "playback-view.h"
 #include "context-view.h"
 
-#define PARAM_ALBUM    "album_id"
-#define PARAM_URI      "uri"
-#define PARAM_SOURCE   "source"
-#define MUSIC_WIN_TITLE        "Music Player"
+#define PARAM_ALBUM     "album_id"
+#define PARAM_URI       "uri"
+#define PARAM_SOURCE    "source"
+#define MUSIC_WIN_TITLE "Music Player"
 
 
 SET_TAG("org.tizen.music-player-tv-ref");
@@ -83,8 +82,6 @@ protected:
        {
                Evas_Object *win;
 
-               // To fix ghost phenomenon
-               //win = elm_win_add(NULL, name, ELM_WIN_BASIC);
                win = elm_win_util_standard_add(name, NULL);
                if (!win)
                        return NULL;
@@ -231,7 +228,6 @@ public:
 
        virtual int Run(int argc, char **argv) {
                memset(&ad, 0x00, sizeof(_appdata));
-               //ad.name = PACKAGE;
 
                return CBaseApp::Run(argc, argv);
        }
@@ -245,41 +241,3 @@ int main(int argc, char **argv)
        
        return 0;
 }
-#if 0
-static int depth = 0;
-const char* szDepth[] = {
-       "  ",
-       "    ",
-       "      ",
-       "        ",
-       "          ",
-       "            ",
-       "              ",
-       "                ",
-       "                  ",
-       "                    ",
-       "                      ",
-};
-
-void __cyg_profile_func_enter(void *this_fn, void *call_site) __attribute__((no_instrument_function));
-void __cyg_profile_func_enter(void *this_fn, void *call_site)
-{
-       if (depth <= 10) {
-               printf("%s", szDepth[depth]);
-               _DBG("%s>%p/%p", szDepth[depth], call_site, this_fn);
-       }
-       printf(">%p/%p\n", call_site, this_fn);
-       depth++;
-}
-/* __cyg_profile_func_enter */
-void __cyg_profile_func_exit(void *this_fn, void *call_site) __attribute__((no_instrument_function));
-void __cyg_profile_func_exit(void *this_fn, void *call_site)
-{
-       depth--;
-       if (depth <= 10) {
-               printf("%s", szDepth[depth]);
-               _DBG("%s<%p/%p", szDepth[depth], call_site, this_fn);
-       }
-       printf("<%p/%p\n", call_site, this_fn);
-} /* __cyg_profile_func_enter */
-#endif
index b5d98f9..6d8e083 100644 (file)
@@ -16,9 +16,8 @@
 
 #include <string.h>
 #include <stdlib.h>
-#include "i18n.h"
 #include <AppCommon.h>
-
+#include "i18n.h"
 #include "song_info.h"
 #include "album_info.h"
 #include "folder_info.h"
index c4b012c..66e16fb 100644 (file)
@@ -1,3 +1,19 @@
+/*
+ * Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 #include <string.h>
 #include <stdlib.h>
 #include <AppCommon.h>
index f18fa38..4f802f2 100644 (file)
@@ -15,8 +15,8 @@
  */
 
 #include <stdlib.h>
-#include "i18n.h"
 #include <AppCommon.h>
+#include "i18n.h"
 #include "playback-mgr.h"
 
 
index 60cf351..91ca518 100644 (file)
@@ -16,8 +16,8 @@
 
 #include <stdlib.h>
 #include <string.h>
-#include "i18n.h"
 #include <AppCommon.h>
+#include "i18n.h"
 #include "song_info.h"
 #include "playlist-mgr.h"
 #include "time.h"
index b9a23cd..8c11e3b 100644 (file)
 
 #include <stdlib.h>
 #include <media/sound_manager.h>
-#include <volume-control.h>
 #include <AppCommon.h>
+#include "volume-control.h"
 
 
 #define VOLUME_MUTE    1
 #define VOLUME_UNMUTE  0
 
+
 struct SVolumeController {
        int currentVolume;
        bool flagMute;
index 352de4f..824ba76 100644 (file)
@@ -1,22 +1,22 @@
 /*
-* Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* Licensed under the Apache License, Version 2.0 (the License);
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an AS IS BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
+ * Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
+#include <AppCommon.h>
 #include "i18n.h"
 #include "define.h"
-#include <AppCommon.h>
 #include "common.h"
 #include "ErrorPopupWindow.h"
 
index ec0abdc..a16f26f 100644 (file)
@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#include "define.h"
 #include <AppCommon.h>
+#include "define.h"
 #include "common.h"
 #include "common-ui.h"
 #include "HandleVolume.h"
index 0c09e22..0ac9801 100644 (file)
@@ -1,24 +1,24 @@
 /*
-* Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* Licensed under the Apache License, Version 2.0 (the License);
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an AS IS BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
+ * Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
+#include <AppCommon.h>
 #include "i18n.h"
 #include "define.h"
 #include "common.h"
 #include "Info.h"
-#include <AppCommon.h>
 
 
 struct SInfo {
@@ -30,6 +30,7 @@ struct SInfo {
 
 static SInfo g_info;
 
+
 void CInfo::SetSourceType(int type)
 {
        g_info.sourceType = type;
index 124192e..09a0d39 100644 (file)
@@ -1,22 +1,22 @@
 /*
-* Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* Licensed under the Apache License, Version 2.0 (the License);
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an AS IS BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
+ * Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
+#include <AppCommon.h>
 #include "i18n.h"
 #include "define.h"
-#include <AppCommon.h>
 #include "common.h"
 #include "Info.h"
 #include "PlayListCtxPopup.h"
index 097361f..2bfdd01 100644 (file)
@@ -1,26 +1,27 @@
 /*
-* Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* Licensed under the Apache License, Version 2.0 (the License);
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an AS IS BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
+ * Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
+#include <AppCommon.h>
 #include "i18n.h"
 #include "define.h"
 #include "common.h"
 #include "Info.h"
-#include <AppCommon.h>
 #include "PlaySettingCtxPopup.h"
 
+
 #define TOTAL_SETTING_BTNS 2
 
 const char *settingText[TOTAL_SETTING_BTNS] = {
@@ -33,6 +34,7 @@ const char *settingBtnId[TOTAL_SETTING_BTNS] = {
        "clear"
 };
 
+
 void CPlaySettingCtxPopup::t_OnConfiguration(void)
 {
        t_SetList(settingText, TOTAL_SETTING_BTNS, 0,
index 7628753..a606020 100644 (file)
@@ -1,33 +1,31 @@
 /*
-* Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* Licensed under the Apache License, Version 2.0 (the License);
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an AS IS BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
+ * Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
+#include <AppCommon.h>
+#include "i18n.h"
 #include "define.h"
 #include "common.h"
-#include <AppCommon.h>
-
 #include "song_info.h"
 #include "music-controller.h"
-#include "i18n.h"
 #include "common-ui.h"
 #include "PlaySettingCtxPopup.h"
 #include "ErrorPopupWindow.h"
 #include "Info.h"
 #include "PlaybackController.h"
 
-
 #define TOTAL_CONTROL_BTNS 6
 #define TOTAL_EDIT_BTNS    3
 #define LP_INTERVAL        0.5   /* seconds */
index 8b19d0b..9afc293 100644 (file)
@@ -1,22 +1,22 @@
 /*
-* Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* Licensed under the Apache License, Version 2.0 (the License);
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an AS IS BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
+ * Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
+#include <AppCommon.h>
 #include "i18n.h"
 #include "define.h"
-#include <AppCommon.h>
 #include "common.h"
 #include "RemovePopupWindow.h"
 
index 5eb87d1..51d570c 100644 (file)
@@ -1,26 +1,25 @@
 /*
-* Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* Licensed under the Apache License, Version 2.0 (the License);
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an AS IS BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
+ * Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
+#include <AppCommon.h>
+#include "i18n.h"
 #include "define.h"
 #include "common.h"
-#include <AppCommon.h>
-
 #include "song_info.h"
 #include "music-controller.h"
-#include "i18n.h"
 #include "common-ui.h"
 #include "SliderWidget.h"
 
index 62003ad..566d15a 100644 (file)
@@ -1,26 +1,26 @@
 /*
-* Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* Licensed under the Apache License, Version 2.0 (the License);
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an AS IS BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
+ * Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
+#include <AppCommon.h>
 #include "i18n.h"
 #include "define.h"
-#include <AppCommon.h>
-
 #include "Info.h"
 #include "SortCtxPopup.h"
 
+
 const char *sortTextSong[] = {
        N_("Title A-Z"),
        N_("Title Z-A"),
index 1d79e81..d79ec74 100644 (file)
@@ -1,26 +1,27 @@
 /*
-* Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* Licensed under the Apache License, Version 2.0 (the License);
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an AS IS BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
+ * Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
+#include <AppCommon.h>
 #include "i18n.h"
 #include "define.h"
 #include "common.h"
 #include "Info.h"
-#include <AppCommon.h>
 #include "SourceCtxPopup.h"
 
+
 const char *sourceText[] = {
        N_("All Source"),
        N_("TV"),
index 0c447c5..28d4ed2 100644 (file)
@@ -1,23 +1,22 @@
 /*
-* Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* Licensed under the Apache License, Version 2.0 (the License);
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an AS IS BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
+ * Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
+#include <AppCommon.h>
 #include "define.h"
 #include "common.h"
-#include <AppCommon.h>
 #include "Timer.h"
 
 
index e89e374..1d9dc89 100644 (file)
@@ -12,7 +12,7 @@
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
-*/
+ */
 
 #include <AppCommon.h>
 #include "i18n.h"
index 4e327f2..2d73eba 100644 (file)
@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#include "i18n.h"
 #include <AppCommon.h>
+#include "i18n.h"
 #include "define.h"
 #include "common.h"
 #include "song_info.h"
index 32efc3a..4367429 100644 (file)
@@ -17,7 +17,6 @@
 #include <AppCommon.h>
 #include "i18n.h"
 #include "define.h"
-
 #include "common.h"
 #include "category_info.h"
 #include "album_info.h"
index d5c943c..98f9b4e 100644 (file)
  * limitations under the License.
  */
 
+#include <AppCommon.h>
 #include "i18n.h"
 #include "define.h"
-#include <AppCommon.h>
-
 #include "common.h"
 #include "song_info.h"
 #include "album_info.h"
index 827fc28..8cd5831 100644 (file)
@@ -17,7 +17,6 @@
 #include <AppCommon.h>
 #include "i18n.h"
 #include "define.h"
-
 #include "common.h"
 #include "category_info.h"
 #include "album_info.h"
index 6294f43..9d9214c 100644 (file)
@@ -14,9 +14,8 @@
 * limitations under the License.
 */
 
-#include "i18n.h"
 #include <AppCommon.h>
-
+#include "i18n.h"
 #include "define.h"
 #include "common.h"
 #include "song_info.h"
index af07e9c..d1eae37 100644 (file)
  * limitations under the License.
  */
 
+#include <AppCommon.h>
 #include "i18n.h"
 #include "define.h"
-
-#include <AppCommon.h>
 #include "common.h"
 #include "common-ui.h"
 #include "song_info.h"
index a99cba3..933ee5b 100644 (file)
@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#include "i18n.h"
 #include <AppCommon.h>
+#include "i18n.h"
 #include "define.h"
 #include "song_info.h"
 #include "album_info.h"
index 8395295..1d052b0 100644 (file)
  * limitations under the License.
  */
 
+#include <AppCommon.h>
 #include "i18n.h"
 #include "define.h"
-#include <AppCommon.h>
-
 #include "common.h"
 #include "common-ui.h"
 #include "entry-popup.h"
index 237905c..8b7fc6b 100644 (file)
@@ -17,7 +17,6 @@
 #include <AppCommon.h>
 #include "i18n.h"
 #include "define.h"
-
 #include "common.h"
 #include "folder_info.h"
 #include "song_info.h"
index 36ebff2..5ea77a2 100644 (file)
@@ -17,7 +17,6 @@
 #include <AppCommon.h>
 #include "i18n.h"
 #include "define.h"
-
 #include "common.h"
 #include "category_info.h"
 #include "album_info.h"
@@ -32,7 +31,6 @@
 
 
 struct SGenreLayout {
-
 };
 
 
index 077fd2b..97ef925 100644 (file)
  * limitations under the License.
  */
 
+#include <AppCommon.h>
+#include "i18n.h"
 #include "define.h"
 #include "common.h"
-#include <AppCommon.h>
-
 #include "Timer.h"
 #include "song_info.h"
 #include "album_info.h"
 #include "music-controller.h"
 #include "volume-control.h"
-#include "i18n.h"
 #include "common-ui.h"
 #include "playback-view.h"
 #include "context-view.h"
index f55c086..1404220 100644 (file)
@@ -14,9 +14,8 @@
  * limitations under the License.
  */
 
-#include "i18n.h"
 #include <AppCommon.h>
-
+#include "i18n.h"
 #include "define.h"
 #include "common.h"
 #include "category_info.h"
index d212091..1cd0321 100644 (file)
@@ -14,9 +14,8 @@
  * limitations under the License.
  */
 
-#include "i18n.h"
 #include <AppCommon.h>
-
+#include "i18n.h"
 #include "define.h"
 #include "common.h"
 #include "song_info.h"