[DEV] code style

This commit is contained in:
Edouard DUPIN 2014-01-14 07:41:03 +01:00
parent b0e3b31664
commit 8c3d0e0fcf
2 changed files with 5 additions and 4 deletions

View File

@ -1227,7 +1227,6 @@ std::vector<etk::FSNode *> etk::FSNode::folderGetSubList(bool _showHidenFile, bo
size_t pos = tmpString.find('/');
if (pos != std::string::npos) {
// a simple folder :
// TODO : Check if the path doesn not already exist !!!
tmpString = std::string(tmpString, 0, pos+1);
}
tmpString = getName() + tmpString;

View File

@ -20,11 +20,13 @@ namespace etk {
FSNodeRight(int16_t _newRight);
~FSNodeRight(void) { };
// copy operator :
const etk::FSNodeRight& operator= (const etk::FSNodeRight &_obj );
const etk::FSNodeRight& operator= (const etk::FSNodeRight &_obj );
// set right :
const etk::FSNodeRight& operator= (const int32_t _newVal );
const etk::FSNodeRight& operator= (const int32_t _newVal );
void clear(void) { m_rights = 0; };
void clear(void) {
m_rights = 0;
};
// User
bool isUserReadable(void) const;
bool isUserWritable(void) const;