Skip to content

Commit

Permalink
libcommon|SaveInfo: Removed unused map() and episode() methods of Sav…
Browse files Browse the repository at this point in the history
…eInfo
  • Loading branch information
danij-deng committed Feb 8, 2014
1 parent 0dd755f commit 732e088
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
4 changes: 1 addition & 3 deletions doomsday/plugins/common/include/saveinfo.h
Expand Up @@ -118,13 +118,11 @@ class SaveInfo

public: /// @todo refactor away:
int magic() const;
uint episode() const;
uint map() const;
};

#endif // __cplusplus

// C wrapper API, for legacy modules -------------------------------------------
// C wrapper API ---------------------------------------------------------------

#ifdef __cplusplus
extern "C" {
Expand Down
12 changes: 2 additions & 10 deletions doomsday/plugins/common/src/saveinfo.cpp
Expand Up @@ -164,16 +164,6 @@ void SaveInfo::setGameId(uint newGameId)
_gameId = newGameId;
}

uint SaveInfo::episode() const
{
return _episode;
}

uint SaveInfo::map() const
{
return _map;
}

Uri const *SaveInfo::mapUri() const
{
return _mapUri;
Expand Down Expand Up @@ -397,6 +387,8 @@ void SaveInfo::read_Hx_v9(Reader *reader)
}
#endif

// C wrapper API ---------------------------------------------------------------

SaveInfo *SaveInfo_New()
{
return new SaveInfo;
Expand Down

0 comments on commit 732e088

Please sign in to comment.