From 4b831faef7b81802857c697e4a24d5ac300dbadb Mon Sep 17 00:00:00 2001 From: John Scipione Date: Mon, 24 Dec 2012 17:03:46 -0500 Subject: [PATCH] Revert "Rename header params to match BeBook. No implementation." This reverts commit 67f773ec1d29f7b4761cd307a3ebc78c280d7308. The convention is to use leading underscores to indicate out parameters. --- headers/os/media/FileInterface.h | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/headers/os/media/FileInterface.h b/headers/os/media/FileInterface.h index 36206b96bd..67d75a565c 100644 --- a/headers/os/media/FileInterface.h +++ b/headers/os/media/FileInterface.h @@ -23,17 +23,16 @@ protected: size_t size); virtual status_t GetNextFileFormat(int32* cookie, - media_file_format* outFormat) = 0; + media_file_format* _format) = 0; virtual void DisposeFileFormatCookie(int32 cookie) = 0; - virtual status_t GetDuration(bigtime_t* outDuration) = 0; + virtual status_t GetDuration(bigtime_t* _time) = 0; virtual status_t SniffRef(const entry_ref& file, - char* outMimeType, // 256 bytes - float* outQuality) = 0; - virtual status_t SetRef(const entry_ref& file, bool create, - bigtime_t* outDuration) = 0; - virtual status_t GetRef(entry_ref* outRef, - char* outMimeType) = 0; + char* _mimeType, // 256 bytes + float* _quality) = 0; + virtual status_t SetRef(const entry_ref& file, + bool create, bigtime_t* _time) = 0; + virtual status_t GetRef(entry_ref* _ref, char* _mimeType) = 0; // TODO: Needs a Perform() virtual method!