Add eof newlines

This commit is contained in:
Adubbz 2019-08-15 20:29:46 +10:00
parent f044c52e7d
commit c20d123f60
45 changed files with 46 additions and 47 deletions

View File

@ -86,4 +86,4 @@ namespace sts::lr::impl {
return ResultSuccess; return ResultSuccess;
} }
} }

View File

@ -30,4 +30,4 @@ namespace sts::lr::impl {
Result RefreshLocationResolver(ncm::StorageId storage_id); Result RefreshLocationResolver(ncm::StorageId storage_id);
Result OpenAddOnContentLocationResolver(Out<std::shared_ptr<AddOnContentLocationResolverInterface>> out); Result OpenAddOnContentLocationResolver(Out<std::shared_ptr<AddOnContentLocationResolverInterface>> out);
} }

View File

@ -96,4 +96,4 @@ namespace sts::lr::impl {
} }
} }
} }

View File

@ -42,4 +42,4 @@ namespace sts::lr::impl {
void ClearRedirections(u32 flags = RedirectionFlags_None); void ClearRedirections(u32 flags = RedirectionFlags_None);
}; };
} }

View File

@ -94,4 +94,4 @@ namespace sts::lr::impl {
template<typename Key, size_t NumEntries> template<typename Key, size_t NumEntries>
using RegisteredStorages = RegisteredData<Key, ncm::StorageId, NumEntries>; using RegisteredStorages = RegisteredData<Key, ncm::StorageId, NumEntries>;
} }

View File

@ -706,4 +706,4 @@ namespace sts::ncm::impl {
return ResultSuccess; return ResultSuccess;
} }
} }

View File

@ -44,4 +44,4 @@ namespace sts::ncm::impl {
Result ActivateContentMetaDatabase(StorageId storage_id); Result ActivateContentMetaDatabase(StorageId storage_id);
Result InactivateContentMetaDatabase(StorageId storage_id); Result InactivateContentMetaDatabase(StorageId storage_id);
} }

View File

@ -235,4 +235,4 @@ namespace sts::ncm::impl {
} }
} }
} }

View File

@ -76,4 +76,4 @@ namespace sts::ncm::impl {
void InvalidateAll(); void InvalidateAll();
}; };
} }

View File

@ -28,4 +28,4 @@ namespace sts::ncm::impl {
return &g_rights_id_cache; return &g_rights_id_cache;
} }
} }

View File

@ -41,4 +41,4 @@ namespace sts::ncm::impl {
RightsIdCache* GetRightsIdCache(); RightsIdCache* GetRightsIdCache();
} }

View File

@ -54,4 +54,4 @@ namespace sts::lr {
return ResultSuccess; return ResultSuccess;
} }
} }

View File

@ -43,4 +43,4 @@ namespace sts::lr {
}; };
}; };
} }

View File

@ -195,4 +195,4 @@ namespace sts::lr {
return ResultSuccess; return ResultSuccess;
} }
} }

View File

@ -31,8 +31,7 @@ namespace sts::lr {
std::shared_ptr<ncm::IContentMetaDatabase> content_meta_database; std::shared_ptr<ncm::IContentMetaDatabase> content_meta_database;
std::shared_ptr<ncm::IContentStorage> content_storage; std::shared_ptr<ncm::IContentStorage> content_storage;
public: public:
ContentLocationResolverInterface(ncm::StorageId storage_id) : storage_id(storage_id) { ContentLocationResolverInterface(ncm::StorageId storage_id) : storage_id(storage_id) { /* ... */ }
}
~ContentLocationResolverInterface(); ~ContentLocationResolverInterface();
public: public:
@ -81,4 +80,4 @@ namespace sts::lr {
}; };
}; };
} }

View File

@ -98,4 +98,4 @@ namespace sts::lr {
std::abort(); std::abort();
} }
} }

View File

@ -98,4 +98,4 @@ namespace sts::lr {
}; };
}; };
} }

View File

@ -36,4 +36,4 @@ namespace sts::lr {
return impl::OpenAddOnContentLocationResolver(out); return impl::OpenAddOnContentLocationResolver(out);
} }
} }

View File

@ -47,4 +47,4 @@ namespace sts::lr {
}; };
}; };
} }

View File

@ -171,4 +171,4 @@ namespace sts::lr {
return ResultSuccess; return ResultSuccess;
} }
} }

View File

@ -71,4 +71,4 @@ namespace sts::lr {
}; };
}; };
} }

View File

@ -100,4 +100,4 @@ namespace sts::lr {
return ResultSuccess; return ResultSuccess;
} }
} }

View File

@ -67,4 +67,4 @@ namespace sts::lr {
}; };
}; };
} }

View File

@ -77,4 +77,4 @@ namespace sts::ncm {
return impl::InactivateContentMetaDatabase(storage_id); return impl::InactivateContentMetaDatabase(storage_id);
} }
} }

View File

@ -72,4 +72,4 @@ namespace sts::ncm {
}; };
}; };
} }

View File

@ -610,4 +610,4 @@ namespace sts::ncm {
return ResultSuccess; return ResultSuccess;
} }
} }

View File

@ -141,4 +141,4 @@ namespace sts::ncm {
}; };
}; };
} }

View File

@ -655,4 +655,4 @@ namespace sts::ncm {
return ResultSuccess; return ResultSuccess;
} }
} }

View File

@ -112,4 +112,4 @@ namespace sts::ncm {
}; };
}; };
} }

View File

@ -379,4 +379,4 @@ namespace sts::ncm {
return ResultSuccess; return ResultSuccess;
} }
} }

View File

@ -113,4 +113,4 @@ namespace sts::ncm {
return ResultSuccess; return ResultSuccess;
}; };
} }

View File

@ -118,4 +118,4 @@ namespace sts::ncm {
std::abort(); std::abort();
} }
} }

View File

@ -118,4 +118,4 @@ namespace sts::ncm {
}; };
}; };
} }

View File

@ -138,4 +138,4 @@ namespace sts::ncm {
std::abort(); std::abort();
} }
} }

View File

@ -123,4 +123,4 @@ namespace sts::ncm {
}; };
}; };
} }

View File

@ -164,4 +164,4 @@ int main(int argc, char **argv)
sts::ncm::impl::FinalizeContentManager(); sts::ncm::impl::FinalizeContentManager();
return 0; return 0;
} }

View File

@ -90,4 +90,4 @@ namespace sts::ncm::path {
} }
} }
} }

View File

@ -30,4 +30,4 @@ namespace sts::ncm::path {
void MakePlaceHolderPathFlat(char* out_path, PlaceHolderId placeholder_id, const char* root); void MakePlaceHolderPathFlat(char* out_path, PlaceHolderId placeholder_id, const char* root);
void MakePlaceHolderPathHashByteLayered(char* out_path, PlaceHolderId placeholder_id, const char* root); void MakePlaceHolderPathHashByteLayered(char* out_path, PlaceHolderId placeholder_id, const char* root);
} }

View File

@ -87,4 +87,4 @@ namespace sts::ncm::path {
return this->path.substr(this->path.find_last_of("/") + 1); return this->path.substr(this->path.find_last_of("/") + 1);
} }
} }

View File

@ -51,4 +51,4 @@ namespace sts::ncm::path {
std::string_view GetFileName() const; std::string_view GetFileName() const;
}; };
} }

View File

@ -245,4 +245,4 @@ namespace sts::ncm {
return ResultNcmInvalidContentStorageOperation; return ResultNcmInvalidContentStorageOperation;
} }
} }

View File

@ -88,4 +88,4 @@ namespace sts::ncm {
}; };
}; };
} }

View File

@ -198,4 +198,4 @@ namespace sts::ncm {
typedef void (*MakeContentPathFunc)(char* out, ContentId content_id, const char* root); typedef void (*MakeContentPathFunc)(char* out, ContentId content_id, const char* root);
typedef void (*MakePlaceHolderPathFunc)(char* out, PlaceHolderId placeholder_id, const char* root); typedef void (*MakePlaceHolderPathFunc)(char* out, PlaceHolderId placeholder_id, const char* root);
} }

View File

@ -78,4 +78,4 @@ namespace sts::ncm {
return std::optional<ContentId>(content_id); return std::optional<ContentId>(content_id);
} }
} }

View File

@ -29,4 +29,4 @@ namespace sts::ncm {
Result GetPlaceHolderIdFromDirEntry(PlaceHolderId* out, struct dirent* dir_entry); Result GetPlaceHolderIdFromDirEntry(PlaceHolderId* out, struct dirent* dir_entry);
std::optional<ContentId> GetContentIdFromString(const char* str, size_t len); std::optional<ContentId> GetContentIdFromString(const char* str, size_t len);
}; };