diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-09-04 03:24:16 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-09-04 03:24:16 +0200 |
commit | 63afa1c6ca473abd17ce8eb0c546f051d6132616 (patch) | |
tree | 43c5751e2090b7597e322f1b20528c32e38c7829 | |
parent | m (diff) | |
download | libgammamm-63afa1c6ca473abd17ce8eb0c546f051d6132616.tar.gz libgammamm-63afa1c6ca473abd17ce8eb0c546f051d6132616.tar.bz2 libgammamm-63afa1c6ca473abd17ce8eb0c546f051d6132616.tar.xz |
derp
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | src/libgamma-error.cc | 15 | ||||
-rw-r--r-- | src/libgamma-error.hh | 2 |
3 files changed, 17 insertions, 2 deletions
@@ -101,7 +101,7 @@ HEADERS = libgamma libgamma-error libgamma-facade libgamma-method libgamma-nativ .PHONY: all lib test all: lib test -lib: bin/libgammamm.$(SO).$(LIB_VERSION) +lib: bin/libgammamm.$(SO).$(LIB_VERSION) bin/libgammamm.$(SO).$(LIB_MAJOR) bin/libgammamm.$(SO) test: bin/test bin/libgammamm.$(SO).$(LIB_VERSION): obj/libgamma-error.o obj/libgamma-facade.o obj/libgamma-method.o diff --git a/src/libgamma-error.cc b/src/libgamma-error.cc index 7233584..1d5caaa 100644 --- a/src/libgamma-error.cc +++ b/src/libgamma-error.cc @@ -131,5 +131,20 @@ namespace libgamma return LibgammaException(error_code); } + + /** + * Group that the user needs to be a member of if + * `LIBGAMMA_DEVICE_REQUIRE_GROUP` is returned. + */ + GroupGid group_gid; + + /** + * Group that the user needs to be a member of if + * `LIBGAMMA_DEVICE_REQUIRE_GROUP` is returned, + * `nullptr` if the name of the group + * `libgamma::group_gid` cannot be determined. + */ + GroupName group_name; + } diff --git a/src/libgamma-error.hh b/src/libgamma-error.hh index b8e32c1..feb3e04 100644 --- a/src/libgamma-error.hh +++ b/src/libgamma-error.hh @@ -132,7 +132,7 @@ namespace libgamma } }; - /** + /** * Group that the user needs to be a member of if * `LIBGAMMA_DEVICE_REQUIRE_GROUP` is returned, * `nullptr` if the name of the group |