Edit

kc3-lang/libxkbcommon/src/compose/paths.h

Branch :

  • Show log

    Commit

  • Author : Pierre Le Marre
    Date : 2025-02-05 14:09:17
    Hash : c051d0ae
    Message : Replace include guards by `#pragma once` (again) Follow-up of df2322d70cb0922f67c41db639a5c70733b4ce66.

  • src/compose/paths.h
  • /*
     * Copyright © 2014 Ran Benita <ran234@gmail.com>
     * SPDX-License-Identifier: MIT
     */
    
    #pragma once
    
    #include "xkbcommon/xkbcommon.h"
    
    char *
    resolve_locale(struct xkb_context *ctx, const char *locale);
    
    const char *
    get_xlocaledir_path(struct xkb_context *ctx);
    
    char *
    get_xcomposefile_path(struct xkb_context *ctx);
    
    char *
    get_xdg_xcompose_file_path(struct xkb_context *ctx);
    
    char *
    get_home_xcompose_file_path(struct xkb_context *ctx);
    
    char *
    get_locale_compose_file_path(struct xkb_context *ctx, const char *locale);