This file is indexed.

/usr/include/libfm-qt/customactions/fileactionprofile.h is in libfm-qt-dev 0.12.0-14build2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#ifndef FILEACTIONPROFILE_H
#define FILEACTIONPROFILE_H


#include <string>
#include <glib.h>
#include <gio/gio.h>

#include "../core/fileinfo.h"
#include "fileactioncondition.h"

namespace Fm {

enum class FileActionExecMode {
    NORMAL,
    TERMINAL,
    EMBEDDED,
    DISPLAY_OUTPUT
};

class FileActionProfile {
public:
    explicit FileActionProfile(GKeyFile* kf, const char* profile_name);

    bool launch_once(GAppLaunchContext* ctx, std::shared_ptr<const FileInfo> first_file, const FileInfoList& files, CStrPtr& output);

    bool launch(GAppLaunchContext* ctx, const FileInfoList& files, CStrPtr& output);

    bool match(FileInfoList files);

    std::string id;
    CStrPtr name;
    CStrPtr exec;
    CStrPtr path;
    FileActionExecMode exec_mode;
    bool startup_notify;
    CStrPtr startup_wm_class;
    CStrPtr exec_as;

    std::shared_ptr<FileActionCondition> condition;
};

} // namespace Fm

#endif // FILEACTIONPROFILE_H