Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /src/pkgbase.h [ef6073] .. [940fb5] Maximize Restore

  Switch to side-by-side view

--- a/src/pkgbase.h
+++ b/src/pkgbase.h
@@ -239,7 +239,11 @@
 
     /* Methods for compiling the schedule of actions.
      */
-    int SetAuthorities( pkgActionItem* );
+    unsigned long SetAuthorities( pkgActionItem* );
+    inline unsigned long HasAttribute( unsigned long required )
+    {
+      return flags & required;
+    }
     pkgActionItem* GetReference( pkgActionItem& );
     pkgActionItem* Schedule( unsigned long, pkgActionItem& );
     inline void SetPrimary( pkgActionItem* );