From: cskim Date: Tue, 28 Feb 2017 06:53:52 +0000 (+0900) Subject: Remove unused code lines X-Git-Tag: submit/tizen/20170808.015446~234 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ca9aff762fcde58691ff546a0ab3e337f7e9af2d;p=profile%2Ftv%2Fapps%2Fdotnet%2Fhome.git Remove unused code lines Change-Id: I48804df07170eff812708d23a2696e4535175113 --- diff --git a/TVHome/TVHome.TizenTV/Ports/DBPort.cs b/TVHome/TVHome.TizenTV/Ports/DBPort.cs index 81420b3..6993a6a 100644 --- a/TVHome/TVHome.TizenTV/Ports/DBPort.cs +++ b/TVHome/TVHome.TizenTV/Ports/DBPort.cs @@ -42,26 +42,6 @@ namespace TVHome.TizenTV.Ports [DllImport(Library, EntryPoint = "sqlite3_exec", CallingConvention = CallingConvention.Cdecl)] internal static extern int Exec(IntPtr handle, string sql, ExecCallback callback, IntPtr notUsed, IntPtr errorMessage); - - /* - [DllImport(Library, EntryPoint = "sqlite3_prepare_v2", CallingConvention = CallingConvention.Cdecl)] - internal static extern int Prepare(IntPtr handle, string sql, int count, out IntPtr statement, IntPtr notUsed); - - [DllImport(Library, EntryPoint = "sqlite3_step", CallingConvention = CallingConvention.Cdecl)] - internal static extern int Step(IntPtr statement); - - [DllImport(Library, EntryPoint = "sqlite3_column_name", CallingConvention = CallingConvention.Cdecl)] - internal static extern StringBuilder ColumnName(IntPtr statement, int col); - - [DllImport(Library, EntryPoint = "sqlite3_column_int", CallingConvention = CallingConvention.Cdecl)] - internal static extern int ColumnInt(IntPtr statement, int col); - - [DllImport(Library, EntryPoint = "sqlite3_column_text", CallingConvention = CallingConvention.Cdecl)] - internal static extern StringBuilder ColumnText(IntPtr statement, int col); - - [DllImport(Library, EntryPoint = "sqlite3_finalize", CallingConvention = CallingConvention.Cdecl)] - internal static extern int Finalize(IntPtr statement); - */ } private const int SQLITE_OK = 0; diff --git a/TVHome/TVHome.TizenTV/TVHome.TizenTV.cs b/TVHome/TVHome.TizenTV/TVHome.TizenTV.cs index 1b7fba5..0b516f1 100644 --- a/TVHome/TVHome.TizenTV/TVHome.TizenTV.cs +++ b/TVHome/TVHome.TizenTV/TVHome.TizenTV.cs @@ -24,9 +24,6 @@ namespace TVHome.TizenTV AppResourcePath = DirectoryInfo.Resource; AppDataPath = DirectoryInfo.Data; - - // TODO : remove this. - // var dbPort = new DBPort(); DebuggingPort.D("I'm here"); LoadApplication(new App()); }