[PC-BSD Commits] [pcbsd/pcbsd] 5a7a4d: Add some new classes to libpcbsd:

GitHub noreply at github.com
Tue Mar 25 14:00:51 PDT 2014


  Branch: refs/heads/master
  Home:   https://github.com/pcbsd/pcbsd
  Commit: 5a7a4d5b12e6b31f5bdbde98c834f6bdcce2089f
      https://github.com/pcbsd/pcbsd/commit/5a7a4d5b12e6b31f5bdbde98c834f6bdcce2089f
  Author: Ken Moore <ken at pcbsd.org>
  Date:   2014-03-25 (Tue, 25 Mar 2014)

  Changed paths:
    A src-qt4/libpcbsd/utils/pcbsd-xdgfile.cpp
    A src-qt4/libpcbsd/utils/pcbsd-xdgfile.h
    A src-qt4/libpcbsd/utils/pcbsd-xdgutils.cpp
    A src-qt4/libpcbsd/utils/pcbsd-xdgutils.h
    M src-qt4/libpcbsd/utils/utils.pro
    M src-qt4/port-files/pkg-plist

  Log Message:
  -----------
  Add some new classes to libpcbsd:
1) XDGFile: This is a class to load a *.desktop file and report things like name, comment, and exec as well as report things like validity (binary existance) and the full command to run (just in case it needs to be run in a terminal).
2) XDGUtils: This is a class of static functions for finding/manipulating lists of XDGFile's. The three functions included so far are for scanning the system for application files, filtering a list for a particular category, and sorting a list by name.

The new classes *.h files were also added to the pkg-plist




More information about the Commits mailing list