Don't return 0/-1 on success/error, but true/false. Instead of int, use bool for storing flags.
Don't compile the sources of disabled output plugins at all.
Again, no CamelCase in the directory name.