Skip to content

Commit

Permalink
Add file header comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tishion committed Aug 13, 2022
1 parent 0174b71 commit a3a6a9b
Show file tree
Hide file tree
Showing 8 changed files with 79 additions and 10 deletions.
10 changes: 9 additions & 1 deletion include/QCefConfig.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
#ifndef QCEFCONFIG_H
/*
* File: QCefConfig.h
* Project: QCefView
* Created: 21nd January 2021
* Author: Sheen
* Source: https://github.com/cefview/qcefview
* Docs: https://cefview.github.io/QCefView/
*/
#ifndef QCEFCONFIG_H
#define QCEFCONFIG_H
#pragma once
#include <QCefView_global.h>
Expand Down
14 changes: 12 additions & 2 deletions include/QCefContext.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* File: QCefContext.h
* Project: QCefView
* Created: 29th March 2016
* Author: Sheen
* Source: https://github.com/cefview/qcefview
* Docs: https://cefview.github.io/QCefView/
*/
#ifndef QCEF_H
#define QCEF_H
#pragma once
Expand Down Expand Up @@ -45,15 +53,17 @@ class QCEFVIEW_EXPORT QCefContext : public QObject
~QCefContext();

/// <summary>
/// Adds a url mapping item with local web resource directory. This works for all <see ref="QCefView" /> instances created subsequently
/// Adds a url mapping item with local web resource directory. This works for all <see ref="QCefView" /> instances
/// created subsequently
/// </summary>
/// <param name="path">The path to the local resource directory</param>
/// <param name="url">The url to be mapped to</param>
/// <param name="priority">The priority</param>
void addLocalFolderResource(const QString& path, const QString& url, int priority = 0);

/// <summary>
/// Adds a url mapping item with local archive (.zip) file which contains the web resource. This works for all <see ref="QCefView" /> instances created subsequently
/// Adds a url mapping item with local archive (.zip) file which contains the web resource. This works for all <see
/// ref="QCefView" /> instances created subsequently
/// </summary>
/// <param name="path">The path to the local archive file</param>
/// <param name="url">The url to be mapped to</param>
Expand Down
10 changes: 9 additions & 1 deletion include/QCefDownloadItem.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
#ifndef QCEFDOWNLOADITEM_H
/*
* File: QCefDownloadItem.h
* Project: QCefView
* Created: 13th July 2022
* Author: Sheen
* Source: https://github.com/cefview/qcefview
* Docs: https://cefview.github.io/QCefView/
*/
#ifndef QCEFDOWNLOADITEM_H
#define QCEFDOWNLOADITEM_H
#pragma once
#include <QCefView_global.h>
Expand Down
10 changes: 9 additions & 1 deletion include/QCefEvent.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
#ifndef QCEFEVENT_H
/*
* File: QCefEvent.h
* Project: QCefView
* Created: 29th March 2016
* Author: Sheen
* Source: https://github.com/cefview/qcefview
* Docs: https://cefview.github.io/QCefView/
*/
#ifndef QCEFEVENT_H
#define QCEFEVENT_H
#pragma once
#include <QCefView_global.h>
Expand Down
10 changes: 9 additions & 1 deletion include/QCefQuery.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
#ifndef QCEFQUERY_H
/*
* File: QCefQuery.h
* Project: QCefView
* Created: 29th March 2016
* Author: Sheen
* Source: https://github.com/cefview/qcefview
* Docs: https://cefview.github.io/QCefView/
*/
#ifndef QCEFQUERY_H
#define QCEFQUERY_H
#pragma once
#include <QCefView_global.h>
Expand Down
10 changes: 9 additions & 1 deletion include/QCefSetting.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
#ifndef QCEFSETTING_H
/*
* File: QCefSetting.h
* Project: QCefView
* Created: 29th March 2016
* Author: Sheen
* Source: https://github.com/cefview/qcefview
* Docs: https://cefview.github.io/QCefView/
*/
#ifndef QCEFSETTING_H
#define QCEFSETTING_H
#pragma once
#include <QCefView_global.h>
Expand Down
15 changes: 13 additions & 2 deletions include/QCefView.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
#ifndef QCEFVIEW_H
/*
* File: QCefView.h
* Project: QCefView
* Created: 29th March 2016
* Author: Sheen
* Source: https://github.com/cefview/qcefview
* Docs: https://cefview.github.io/QCefView/
*/
#ifndef QCEFVIEW_H
#define QCEFVIEW_H
#pragma once
#include <QCefView_global.h>
Expand Down Expand Up @@ -401,7 +409,10 @@ public slots:
/// <summary>
///
/// </summary>
inline void setFocus() { setFocus(Qt::OtherFocusReason); }
inline void setFocus()
{
setFocus(Qt::OtherFocusReason);
}

public:
/// <summary>
Expand Down
10 changes: 9 additions & 1 deletion include/QCefView_global.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
#ifndef QCEFEVIEW_GLOBAL_H
/*
* File: QCefView_global.h
* Project: QCefView
* Created: 29th March 2016
* Author: Sheen
* Source: https://github.com/cefview/qcefview
* Docs: https://cefview.github.io/QCefView/
*/
#ifndef QCEFEVIEW_GLOBAL_H
#define QCEFEVIEW_GLOBAL_H
#pragma once

Expand Down

0 comments on commit a3a6a9b

Please sign in to comment.