mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-10 01:55:19 -04:00
First shot of file sharing permissions. Compiles, but needs some testing/debugging.
- added type-safe flags in retroshare/rsflags.h. This should be used to make new flags types in order to prevent mixing flags up in function prototypes. - group handling is left to rsPeers. We'll move it to rsCircles later. git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-FileSharingPermissions@5754 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
03d4936b12
commit
dc82cee700
27 changed files with 567 additions and 336 deletions
|
@ -48,10 +48,10 @@ GroupFlagsWidget::GroupFlagsWidget(QWidget *parent,uint32_t flags)
|
|||
|
||||
setLayout(_layout) ;
|
||||
|
||||
_flags[0] = RS_FILE_HINTS_BROWSABLE_GROUPS ;
|
||||
_flags[1] = RS_FILE_HINTS_NETWORK_WIDE_GROUPS ;
|
||||
_flags[2] = RS_FILE_HINTS_BROWSABLE_OTHERS ;
|
||||
_flags[3] = RS_FILE_HINTS_NETWORK_WIDE_OTHERS ;
|
||||
_flags[0] = DIR_FLAGS_BROWSABLE_GROUPS ;
|
||||
_flags[1] = DIR_FLAGS_NETWORK_WIDE_GROUPS ;
|
||||
_flags[2] = DIR_FLAGS_BROWSABLE_OTHERS ;
|
||||
_flags[3] = DIR_FLAGS_NETWORK_WIDE_OTHERS ;
|
||||
|
||||
for(int i=0;i<4;++i)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue