mmc: remove unnecessary header file 65/17065/1
authorTaeyoung Kim <ty317.kim@samsung.com>
Mon, 3 Mar 2014 11:07:50 +0000 (20:07 +0900)
committerTaeyoung Kim <ty317.kim@samsung.com>
Mon, 3 Mar 2014 11:08:57 +0000 (20:08 +0900)
- The contents of mmc.h are unnecessary.
  Thus the contents are removed from mmc popup

Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
Change-Id: I410638036ea20cf3815b92c2affdcaff88c896d0

mmc-popup/CMakeLists.txt
mmc-popup/src/mmc.c
mmc-popup/src/mmc.h [deleted file]

index 7575170..21c680a 100755 (executable)
@@ -3,6 +3,8 @@
 CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
 PROJECT(mmc-popup C)
 
+SET(PACKAGE ${PROJECT_NAME})
+
 SET(SRCS ${CMAKE_SOURCE_DIR}/mmc-popup/src/mmc.c
                 ${CMAKE_SOURCE_DIR}/share/src/common.c)
 
@@ -35,6 +37,7 @@ IF("${ARCH}" STREQUAL "arm")
 ENDIF("${ARCH}" STREQUAL "arm")
 
 ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")
+ADD_DEFINITIONS("-DPACKAGE=\"${PACKAGE}\"")
 ADD_DEFINITIONS("-DSLP_DEBUG")
 
 SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed")
index 7e2e96f..0285268 100755 (executable)
 #include <devman.h>
 #include <pmapi.h>
 #include <sysman.h>
-#include "mmc.h"
-#include "common.h"
 #include <utilX.h>
 #include <notification.h>
 #include <syspopup.h>
 #include <svi.h>
+#include "common.h"
 
 #define CHECK_ACT                      0
 #define MOUNT_ERROR_ACT                1
diff --git a/mmc-popup/src/mmc.h b/mmc-popup/src/mmc.h
deleted file mode 100644 (file)
index 2a614e5..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (c) 2012 Samsung Electronics Co., Ltd.
- *
- * 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.
- */
-
-
-
-#ifndef __DEF_mmc_H_
-#define __DEF_mmc_H_
-
-#include <Elementary.h>
-
-#ifndef PREFIX
-#define PREFIX "/usr"
-#endif /* PREFIX */
-
-#define TEMP_DIR                       "/tmp"
-#define PACKAGE                                "mmc-popup"
-#define APPNAME                                "mmc-popup"
-#define MAIN_W                         (480)
-#define MAIN_H                         (800)
-#define GRP_MAIN                       "main"
-#define GRP_POPUP                      "popup"
-#define NEW_INDI
-#define APPLICATION_BG                 1
-#define INDICATOR_HEIGHT               (38)
-
-#define BEAT
-
-#endif                         /* __DEF_mmc_H__ */