mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Break cef.h into multiple headers (issue #142).
- Move wrapper classes from cef_wrapper.h to wrapper/ directory. - Move C API functions/classes from cef_capi.h to capi/ directory. - Move global function implementations from cef_context.cc to *_impl.cc files. - Output auto-generated file paths in cef_paths.gypi. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@442 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -34,7 +34,6 @@ CefRefPtr<CefZipReader> CefZipReader::Create(CefRefPtr<CefStreamReader> stream)
|
||||
}
|
||||
|
||||
|
||||
|
||||
// VIRTUAL METHODS - Body may be edited by hand.
|
||||
|
||||
bool CefZipReaderCToCpp::MoveToFirstFile()
|
||||
@@ -51,7 +50,6 @@ bool CefZipReaderCToCpp::MoveToFirstFile()
|
||||
return _retval?true:false;
|
||||
}
|
||||
|
||||
|
||||
bool CefZipReaderCToCpp::MoveToNextFile()
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, move_to_next_file))
|
||||
@@ -66,7 +64,6 @@ bool CefZipReaderCToCpp::MoveToNextFile()
|
||||
return _retval?true:false;
|
||||
}
|
||||
|
||||
|
||||
bool CefZipReaderCToCpp::MoveToFile(const CefString& fileName,
|
||||
bool caseSensitive)
|
||||
{
|
||||
@@ -89,7 +86,6 @@ bool CefZipReaderCToCpp::MoveToFile(const CefString& fileName,
|
||||
return _retval?true:false;
|
||||
}
|
||||
|
||||
|
||||
bool CefZipReaderCToCpp::Close()
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, close))
|
||||
@@ -104,7 +100,6 @@ bool CefZipReaderCToCpp::Close()
|
||||
return _retval?true:false;
|
||||
}
|
||||
|
||||
|
||||
CefString CefZipReaderCToCpp::GetFileName()
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, get_file_name))
|
||||
@@ -121,7 +116,6 @@ CefString CefZipReaderCToCpp::GetFileName()
|
||||
return _retvalStr;
|
||||
}
|
||||
|
||||
|
||||
long CefZipReaderCToCpp::GetFileSize()
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, get_file_size))
|
||||
@@ -136,7 +130,6 @@ long CefZipReaderCToCpp::GetFileSize()
|
||||
return _retval;
|
||||
}
|
||||
|
||||
|
||||
time_t CefZipReaderCToCpp::GetFileLastModified()
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, get_file_last_modified))
|
||||
@@ -151,7 +144,6 @@ time_t CefZipReaderCToCpp::GetFileLastModified()
|
||||
return _retval;
|
||||
}
|
||||
|
||||
|
||||
bool CefZipReaderCToCpp::OpenFile(const CefString& password)
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, open_file))
|
||||
@@ -169,7 +161,6 @@ bool CefZipReaderCToCpp::OpenFile(const CefString& password)
|
||||
return _retval?true:false;
|
||||
}
|
||||
|
||||
|
||||
bool CefZipReaderCToCpp::CloseFile()
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, close_file))
|
||||
@@ -184,7 +175,6 @@ bool CefZipReaderCToCpp::CloseFile()
|
||||
return _retval?true:false;
|
||||
}
|
||||
|
||||
|
||||
int CefZipReaderCToCpp::ReadFile(void* buffer, size_t bufferSize)
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, read_file))
|
||||
@@ -206,7 +196,6 @@ int CefZipReaderCToCpp::ReadFile(void* buffer, size_t bufferSize)
|
||||
return _retval;
|
||||
}
|
||||
|
||||
|
||||
long CefZipReaderCToCpp::Tell()
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, tell))
|
||||
@@ -221,7 +210,6 @@ long CefZipReaderCToCpp::Tell()
|
||||
return _retval;
|
||||
}
|
||||
|
||||
|
||||
bool CefZipReaderCToCpp::Eof()
|
||||
{
|
||||
if (CEF_MEMBER_MISSING(struct_, eof))
|
||||
@@ -237,7 +225,6 @@ bool CefZipReaderCToCpp::Eof()
|
||||
}
|
||||
|
||||
|
||||
|
||||
#ifndef NDEBUG
|
||||
template<> long CefCToCpp<CefZipReaderCToCpp, CefZipReader,
|
||||
cef_zip_reader_t>::DebugObjCt = 0;
|
||||
|
Reference in New Issue
Block a user